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 logout endpoint #18

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

Add OIDC logout endpoint #18

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

Comments

@shawnhankim
Copy link
Member

As a Product Manager,

I want to integrate with IdP's logout endpoint to fully end session between NGINX Plus and OP as the current NJS implementation clear the token itself, and the IdP's authenticated session still exists at the IdP.

AC:

  • Add a map variable of $oidc_logout_endpoint as same as authz and token endpoints here (openid_connect_configuration.conf).

  • Add a map variable of $post_logout_return_uri to determine where to send browser after RP requests /logout to the OP, and after the RP (_logout) is called by OP.

  • Enhance /logout location:

    • Generate query parameters using $oidc_logout_query_params for the $oidc_logout_endpoint.
    • NGINX Plus: clear tokens.
    • Redirect to the $oidc_logout_endpoint to start ending session in the IdP.
  • Enhance /_logout location:

    • Redirected by IdP when IdP successfully finished the session.
    • NGINX Plus: Either show a built-in logout page or redirect to the $post_logout_return_uri.
@shawnhankim shawnhankim self-assigned this Dec 22, 2022
@shawnhankim shawnhankim changed the title add OIDC logout endpoint Add OIDC logout endpoint Dec 22, 2022
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