-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Description
Issue and Steps to Reproduce
In logout we have below steps
- revoke access token
- revoke refresh token
- endsession (idtoken)
- Either soft redirect / refresh the session or
- or redirect to oidc server logout url
As 4 or 5 are exclusive steps , I am expecting async logout to await till all promises resolve including endSession.
I am thinking to get below case worked
Currently what is happening that if I am writing the window.location.href after await of logout, endSession request is cancelled. I need to redirect to logout to kill the session fully as per our oidc server. Attached below screenshot
Versions
7.18.1
Screenshots
Expected
Await(revoke(AT), revoke(RT), endSession(idToken)).then (() => custom redirect);
Actual
Await(revoke(AT), revoke(RT)).then (() => custom redirect);
and endSession(idToken) is cancelled
Additional Details
PLease let me know if I am missing something
- Installed packages:
guillaume-chervet
Metadata
Metadata
Assignees
Labels
No labels