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

How to provide client id during logoff #932

Closed
myronu opened this issue Jan 7, 2021 · 6 comments
Closed

How to provide client id during logoff #932

myronu opened this issue Jan 7, 2021 · 6 comments

Comments

@myronu
Copy link

myronu commented Jan 7, 2021

There is nothing in the documentation about calling logoff() with a url handler but it shows up as an optional parameter on the method. I am wondering how I could use that to provide additional parameters to the URL, specifically client_id. With our server I am receiving an error calling logout, "Invalid value for 'client_id' parameter."

@FabianGosebrink
Copy link
Collaborator

Related to #966

@FabianGosebrink
Copy link
Collaborator

We can use an existing interface as param also on the logoff methods. Would be a breaking change.

@damienbod
Copy link
Owner

damienbod commented Mar 6, 2021

Hi @myronu The client_id is not an param used for the endsession endpoint. Why do you need this? What IdentityProvider do you use?

Can you send me the specs of the endsession endpoint you use?

Greetings Damien

@myronu
Copy link
Author

myronu commented Mar 9, 2021

This is one of our company's main TID servers and is designed as a multi-tenant solution. I know it is based on Okta but I'm not sure if that parameter comes from Okta or something they added to facilitate redirecting to the correct server.

@myronu
Copy link
Author

myronu commented Mar 9, 2021

There is another possibility that either logout is not being called properly, or the ID server is not handling it properly. Looking closer I see two calls being made, the first call looks like it includes the token but fails for some reason. The second call does not include the token and gives the error that client_id is not provided.

image

@FabianGosebrink
Copy link
Collaborator

Implemented, will be in Release 12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants