Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Sign out functionality #78

@valiafetisov

Description

@valiafetisov

Am I understanding correctly, that there is no sign out functionality implemented, since signedOutCallbackPath is marked as Reserved for future use - Not currently used?

  • If it's actually implemented, but not documented, can you please explain how it works?
  • Otherwise, what is the workaround?

Currently, my understanding is that we need to construct sign out url ourselves, like so:

const signOutCallback = `${baseUrl}/easyauth/signout-callback-oidc`
const signOutUrl = `https://login.microsoftonline.com/${tenantId}/oauth2/v2.0/logout?post_logout_redirect_uri=${encodeURIComponent(signOutCallback)}`

And then /easyauth/signout-callback-oidc endpoint suppose to remove AzAD.EasyAuthForK8s http-only cookie. And since it's not happening the workaround will be to have our own endpoint which will do that for us (which is still not optimal, since the session is not invalidated)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions