From b667ea60aa4f4ca7c0a873a4593832be1e7aabe9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Fri, 6 Feb 2009 08:29:51 +0000
Subject: [PATCH] Extra notes about relay state parameter when using idp-first

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1243 44740490-163a-0410-bde0-09ae8108e29a
---
 docs/simplesamlphp-idp.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/simplesamlphp-idp.txt b/docs/simplesamlphp-idp.txt
index 661705d45..88b289f95 100644
--- a/docs/simplesamlphp-idp.txt
+++ b/docs/simplesamlphp-idp.txt
@@ -767,6 +767,9 @@ Here is an example of such an url:
 
 	https://sp.example.org/simplesaml/saml2/idp/SSOService.php?spentityid=dev.andreas.feide.no
 
+When the IdP-first flow is used an extra parameter is needed in the `saml20-sp-hosted` metadata. This is the `RelayState` parameter that tells the SP which URL to redirect the user to after the user is successfully authenticated. This typically is the frontpage of your application. An example of this can be:
+
+	'RelayState' => '/',
 
 
 B. Writing your own authentication module
-- 
GitLab