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 OIDC end session endpoint and custom query params #70

Open
shawnhankim opened this issue Dec 22, 2022 · 0 comments
Open

Add OIDC end session endpoint and custom query params #70

shawnhankim opened this issue Dec 22, 2022 · 0 comments

Comments

@shawnhankim
Copy link
Contributor

shawnhankim commented Dec 22, 2022

As a Product Manager,

I want to integrate with IdP's end session endpoint to terminate the user session on the IdP's side as the current NJS implementation clear the token itself, and the IdP's authenticated session still exists at the IdP. In addition to that I want to support the logout using the customizable variable regardless of different query parameters from each IdP.

AC:

  • Add a map variable of $oidc_end_session_endpoint as same as authorization and token endpoints in the openid_connect_configuration.conf.

  • Add a map variable of $oidc_logout_landing_page to determine where to redirect browser after successful logout from the IdP.

  • Add a map variable of $oidc_end_session_query_params to support different query parameters per each IdP.

  • Enhanc /logout location:

    • Add query parameters using $oidc_end_session_query_params for the $oidc_end_session_endpoint.
    • NGINX Plus: cleared tokens.
    • Redirected to the $oidc_end_session_endpoint to start ending session in the IdP.
  • Enhanc /_logout location:

    • Redirected by IdP when IdP successfully finished the session.
    • Clean cookies
    • NGINX Plus: Redirect to the $oidc_logout_landing_page.
@shawnhankim shawnhankim changed the title integrate with the OIDC logout endpoint Integrate with the OIDC logout endpoint Dec 22, 2022
@shawnhankim shawnhankim changed the title Integrate with the OIDC logout endpoint Integrate with the OIDC logout endpoint and custom query params Dec 24, 2022
@shawnhankim shawnhankim changed the title Integrate with the OIDC logout endpoint and custom query params Add OIDC end session endpoint and custom query params Jan 9, 2023
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

No branches or pull requests

1 participant