-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add login_hint as method to identify end-user in signOut #277
base: master
Are you sure you want to change the base?
Conversation
if ($this->getState() == "") | ||
$this->setState($_REQUEST['state']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This happens when the session does not contain the state.
Does this introduce security issues?
It looks to me that it is now possible to reload the page with the ?code=<somecode>&state=<some state>
. Instead that it was normally not possible because the state was unset.
Maybe the specs says something about this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should for sure not do this - if the session does not hold the necessary values there is something broken.
Same for the nonce below
…ric_prefix) of type string is deprecated
if ($this->getState() == "") | ||
$this->setState($_REQUEST['state']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should for sure not do this - if the session does not hold the necessary values there is something broken.
Same for the nonce below
Some identity manager like as Keycloak doesn't support login_hint_token to identifying the end-user. I add "login_hint" method in signOut() function