Skip to content
Snippets Groups Projects
Commit 9aa77e41 authored by Olav Morken's avatar Olav Morken
Browse files

docs: Update migration guide with login and logout links.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1873 44740490-163a-0410-bde0-09ae8108e29a
parent fdff0d5f
No related branches found
No related tags found
No related merge requests found
...@@ -208,6 +208,26 @@ If you want to return to a specific URL after logging out, you should include th ...@@ -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/'); $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 Test the application
-------------------- --------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment