The following only occurs on the first load of the page, when ldap_sso_boot is triggered and no cookie is set.
When using ldap_sso as the authentication mechanism the module will redirect the user to /user when opening the frontpage instead of the frontpage itself.
When open a subpage is opened the module will redirect you to /somepage after ldap_sso is successful.
The default behavior for requesting the frontpage should be to see the frontpage after ldap_sso is completed, not the users profile page.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ldap_sso-destination-1485118-1.patch | 831 bytes | PaulHartman |
Comments
Comment #1
PaulHartman commentedThe following patch fixes this 'problem'.
I don't know if the redirection to the user profile was done by design, but to me this is not the right procedure.
If the user is authenticated the user should be shown the frontpage, not the profile page.
I also changed the query destination behavior to use the drupal 7 common function drupal_get_destination instead of $_GET['q'].
Comment #2
johnbarclay commentedThanks. This looks correct to me and I've committed it. I'm leaving marked as "needs review" until other ldap sso users test it or the issue ages well without comment.
Comment #3
johnbarclay commented