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

logout is not calling end_session endpoint #1349

Open
bhargavmullakuru opened this issue Apr 17, 2024 · 4 comments
Open

logout is not calling end_session endpoint #1349

bhargavmullakuru opened this issue Apr 17, 2024 · 4 comments

Comments

@bhargavmullakuru
Copy link

bhargavmullakuru commented Apr 17, 2024

Issue and Steps to Reproduce

Hi @guillaume-chervet ,
i found a bug, logout is not working as it is not calling end_session end point. but my oidc server supports and returning the url. because of this, next time when i try to login it is trying to login with the previous credentials and getting bad request error while requesting the token.

Pls let me know anything i need to configure for this.. ?

Thanks in advance.

Versions

7.22.0

Screenshots

Screenshot 2024-04-13 120304

Expected

Actual

Additional Details

  • Installed packages:
@guillaume-chervet
Copy link
Contributor

Hi @bhargavmullakuru , thank you for your issue.
What behavior do you when calling logout method?
Do you retrieve idToken scope?
Do you have an url set in you endpoint in you wellknowurl ?

if (!('id_token_hint' in endPointExtras)) {

@bhargavmullakuru
Copy link
Author

@guillaume-chervet . I have the end_session url in well-known. But it's not getting called on logout ()

@bhargavmullakuru
Copy link
Author

bhargavmullakuru commented Apr 19, 2024

I just want library to call session end point url to close the session and clear the logged in credentials. Currently the URL is not calling and session is getting reinitiating with previously logged in user when click on sign in button.

@guillaume-chervet
Copy link
Contributor

Hi @bhargavmullakuru ,

Do you retrieve idToken scope? It is necessary for logout. Do you have more information that i can use to help you?
What does look like your configuration?

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

2 participants