-
-
Notifications
You must be signed in to change notification settings - Fork 434
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
[13.0][CHG] auth_oauth_autologin: redirect to the oauth in JS to keep track of the fragment #511
[13.0][CHG] auth_oauth_autologin: redirect to the oauth in JS to keep track of the fragment #511
Conversation
Hi @sbidoul, |
163b899
to
ea8dd8e
Compare
…of the URI fragment to redirect to
ea8dd8e
to
58a1997
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Hi @sbidoul, |
@benwillig can you confirm this works in production? |
@sbidoul Yes it's working in production. |
Thanks! /ocabot merge minor |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 0b4a0ec. Thanks a lot for contributing to OCA. ❤️ |
[t151701] global default SAML provider
At the moment, if the user click on an Odoo mail notification message, he expects to be redirected on the record form view,. Using the autologin method, he will be redirected to the odoo home page instead after a successful login. This is due to the lost fragment of the original URI.
To correct this behavior, the redirect is done in javascript. Sending the original URI with its fragment to get the correct redirect URI.
Unfortunately, the login page has to be rendered first.