LoginRedirectionUriAttribute
Summary
Sets which attribute of the user/usergroup class contains redirection URI for the user.
Usage
LoginRedirectionUriAttribute[user]= attribute_identifier1 LoginRedirectionUriAttribute[group]= attribute_identifier2
Description
The redirection URI can be specified for a user/usergroup using an attribute of the "Text line" datatype. The "LoginRedirectionUriAttribute" setting specifies which attribute of the user/usergroup class is used for storing the redirection URI. Please refer to the "Advanced redirection after login" section of the "Features" chapter for more information.
Note: Specify '/' as the redirect uri in the login form to make it try to read the user / user group object attribute value.
Examples
Example 1
[UserSettings] LoginRedirectionUriAttribute[user]=redirection_uri
This will tell the system that a user should always be redirected after login to the URL that is specified in the "redirection_uri" attribute for this user.
Example 2
[UserSettings] LoginRedirectionUriAttribute[group]=start_page
This will tell the system that a user should always be redirected after login to the URL that is specified in the "start_page" attribute for the user group that this user belongs to.
Example 3
[UserSettings] LoginRedirectionUriAttribute[user]=redirection_uri LoginRedirectionUriAttribute[group]=start_page
This will tell the system that a user should always be redirected after login to the URL that is specified in the "redirection_uri" attribute for this user. If no URL is specified in this attribute then the user will be redirected to the URL that is specified in the "start_page" attribute for the user group that this user belongs to.
Contributors
- Svitlana Shatokhina Maintainer
- Geir Arne Waaler Updated Maintainer
Comments
Add a comment