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

OZ-819: Odoo OIDC add-on to work for Odoo 17 #2

Open
wants to merge 3 commits into
base: 17.0
Choose a base branch
from
Open

Conversation

wluyima
Copy link
Collaborator

@wluyima wluyima commented Mar 13, 2025

wluyima added 3 commits March 7, 2025 12:09
Skip IDP logout if user has no IDP account

Fixed IDP redirect url to include base URL and logout URL to provider form

Skip IDP logout of no logout URL is configured for the provider

Fixed logout for user with no IDP account

Added support for params in logout URL and encoded post redirect URL

Updated logout URL's help tip to mention it maps to end_session_endpoint

Added support for full URLs as redirects

Allow redirect URLs containing http or https but do not start with them

Apply formatting changes

Apply formatting changes

Apply formatting changes

Renamed logout_endpoint to end_session_endpoint

Switched to using urllib.parse.urljoin

Switched to using urllib to parse, create urls and query params

Added initial test for oidc logout

Added more tests for oidc logout

Cleaned up test to verify individual redirect url components

Use url_root instead of web base url

Applied changes as requested
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.

1 participant