Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

wluyima
Copy link

@wluyima wluyima commented Jul 11, 2025

With the current implementation of the oauth auto login feature that is handled by both front and back end logic, there is an annoying issue where the user temporarily sees the Odoo login page before they get redirected to the IDP's login page.

This PR modifies the oauth auto login addon so that the logic is implemented on the backend to resolve the issue.

* Moved all auto login  implementation to the backend

* OZ-357: Removed repeat check for auth error

* OZ-357: Refactored autologin code

* Added tests for autologin feature

* Cleaned up the tests for autologin feature

* Fixed manifest file formatting

* Added missing @http.route

* Fixed broken tests after adding @http.route

* Added small refactoring of the controller code
@OCA-git-bot
Copy link
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants