Skip to content
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 support to skip the logout confirmation in the auth provider #707

Open
wluyima opened this issue Oct 10, 2024 · 2 comments
Open

Add support to skip the logout confirmation in the auth provider #707

wluyima opened this issue Oct 10, 2024 · 2 comments

Comments

@wluyima
Copy link

wluyima commented Oct 10, 2024

Is your feature request related to a problem?
For some implementations, the logout confirmation is not a desirable behavior.

Additional context
According to the oauth2 logout specification, by including the id_token_hint parameter in the logout URL, the logout confirmation is skipped by the resource provider.

Describe the solution you'd like
An admin should be able to configure a specific oauth provider in Odoo to skip the logout confirmation in the resource provider. It means we can store the value of the id_token_hint in the users table after successful authentication alongside the access_token so that when the user is logging out, it gets included in the logout URL.

@wluyima
Copy link
Author

wluyima commented Oct 10, 2024

@ap-wtioit, @sbidoul our team wishes to work on this and issue a PR.

@ap-wtioit
Copy link
Contributor

sounds like a useful extension to me.

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

No branches or pull requests

2 participants