Skip to content

[15.0][ADD] auth_saml: handle redirect parameter in the URI#483

Merged
OCA-git-bot merged 1 commit intoOCA:15.0from
xcgd:topic/15.0/auth_saml-add-handle-redirect
Sep 14, 2023
Merged

[15.0][ADD] auth_saml: handle redirect parameter in the URI#483
OCA-git-bot merged 1 commit intoOCA:15.0from
xcgd:topic/15.0/auth_saml-add-handle-redirect

Conversation

@vincent-hatakeyama
Copy link
Copy Markdown
Contributor

Includes #481

Unlike auth_oauth, this module did not handle redirect correctly.

For example, something like http://localhost:8069/web/login?redirect=%2Fweb%23menu_id%3D111%26action%3D176%26model%3Dmodel_name%26view_type%3Dlist would not keep the redirect part if SAML authentication was used. It would work as expected with the standard authentication or auth_oauth/auth_oidc.

The changes have been tested with a local keycloak.

@vincent-hatakeyama vincent-hatakeyama force-pushed the topic/15.0/auth_saml-add-handle-redirect branch 6 times, most recently from aed03f9 to bcc8c51 Compare February 24, 2023 10:02
@vincent-hatakeyama vincent-hatakeyama marked this pull request as ready for review February 24, 2023 10:02
@vincent-hatakeyama vincent-hatakeyama force-pushed the topic/15.0/auth_saml-add-handle-redirect branch from bcc8c51 to f3426e1 Compare March 24, 2023 08:40
@vincent-hatakeyama vincent-hatakeyama force-pushed the topic/15.0/auth_saml-add-handle-redirect branch from f3426e1 to 16b420a Compare July 4, 2023 10:13
@vincent-hatakeyama vincent-hatakeyama force-pushed the topic/15.0/auth_saml-add-handle-redirect branch from 16b420a to dde5c2c Compare September 14, 2023 12:28
@vincent-hatakeyama
Copy link
Copy Markdown
Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 15.0-ocabot-merge-pr-483-by-vincent-hatakeyama-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0c16f77 into OCA:15.0 Sep 14, 2023
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at d160eaa. Thanks a lot for contributing to OCA. ❤️

@vincent-hatakeyama vincent-hatakeyama deleted the topic/15.0/auth_saml-add-handle-redirect branch September 14, 2023 12:36
SiesslPhillip pushed a commit to grueneerde/OCA-server-auth that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-auth (17.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants