-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Pass on direct query parameter during login #17548
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
Conversation
|
/backport to stable17 |
blizzz
left a comment
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.
looks good
| :value="OC.requestToken"> | ||
| <input type="hidden" | ||
| name="direct" | ||
| :value="direct"> |
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.
| :value="direct"> | |
| :value="directLogin"> |
WHy not use directLogin directly?
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.
because the "direct" parameter is what we use in various places at the moment, including SAML and GS
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.
yeah, but it's coming as a prop, so we don't care about the name of the variable :)
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.
@skjnldsv you are right
skjnldsv
left a comment
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.
See comment
|
tested it successfully! |
|
would be great to have this in 17.0.1. I know some users waiting for it. |
|
It will be backported yes |
|
Ok so i changed the code a bit. |
If direct is set we should forward it again. This to make SAML direct login work again. Signed-off-by: Roeland Jago Douma <[email protected]>
a373b07 to
38730b4
Compare
|
The backport to stable17 failed. Please do this backport manually. |
If direct is set we should forward it again.
This to make SAML direct login work again.
Signed-off-by: Roeland Jago Douma [email protected]