From 9aa77e419ee1d6d74c0cd5365a5fdf71beb3fd5c Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Mon, 19 Oct 2009 12:02:38 +0000
Subject: [PATCH] docs: Update migration guide with login and logout links.

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

diff --git a/docs/simplesamlphp-sp-migration.txt b/docs/simplesamlphp-sp-migration.txt
index a0136de18..28c6da922 100644
--- a/docs/simplesamlphp-sp-migration.txt
+++ b/docs/simplesamlphp-sp-migration.txt
@@ -208,6 +208,26 @@ If you want to return to a specific URL after logging out, you should include th
     $as->logout('https://example.org/');
 
 
+#### Login link
+
+If you have any links to the initSSO-script, those links must be replaced with links to a new script.
+The URL to the new script is `https://.../simplesaml/module.php/core/as_login.php`.
+It has two mandatory parameters:
+
+  * `AuthId`: The id of the authentication source.
+  * `ReturnTo`: The URL the user should be redirected to after authentication.
+
+
+#### Logout link
+
+Any links to the initSLO-script must be replaced with links to a new script.
+The URL to the new script is `https://.../simplesaml/module.php/core/as_logout.php`.
+It has two mandatory parameters:
+
+  * `AuthId`: The id of the authentication source.
+  * `ReturnTo`: The URL the user should be redirected to after logout.
+
+
 Test the application
 --------------------
 
-- 
GitLab