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

OP End Session Endpoint url helper #116

Closed
sero323 opened this issue Sep 11, 2018 · 6 comments
Closed

OP End Session Endpoint url helper #116

sero323 opened this issue Sep 11, 2018 · 6 comments

Comments

@sero323
Copy link

sero323 commented Sep 11, 2018

Hey,

Just curious if there is an implementation of the End Session endpoint i can get, similar to
this.client.authorizationUrl(this.config);. Maybe something like this.client.endSessionUrl(this.config);

I know i can build the url manually with the parameters...but I was hoping for an existing solution.

I am using openid.Issuer.discover(this.issuerHost)) to get the endpoints from https://demo.identityserver.io/.well-known/openid-configuration

@panva
Copy link
Owner

panva commented Sep 12, 2018

I know i can build the url manually with the parameters

Yup, pretty much. Accessed via client.issuer.end_session_endpoint or issuer.end_session_endpoint you get the discovered value, appending query params or running it through url.parse and url.format.

But since this is a reoccurance of the same request, i yield, will do eventually.

@panva panva changed the title End Session Endpoint OP End Session Endpoint url helper Sep 12, 2018
@sero323
Copy link
Author

sero323 commented Sep 12, 2018

Cool! Thanks!

@panva panva closed this as completed in 7c2e030 Sep 16, 2018
davidgtonge pushed a commit to davidgtonge/node-openid-client that referenced this issue Sep 20, 2018
@CrowdHailer
Copy link

Would it be possible to add a link to this specification in the README?
https://openid.net/specs/openid-connect-session-1_0.html#RPLogout

I assumed this feature was not part of the library because it wasn't listed.
Pleased to see it is though

@panva
Copy link
Owner

panva commented Feb 5, 2020

@CrowdHailer

BAF20687-F584-4D93-BF77-477AC67B7C5A

@CrowdHailer
Copy link

CrowdHailer commented Feb 5, 2020

@panva
Copy link
Owner

panva commented Feb 5, 2020

:( messed up, thought this was over at the oidc-provider repo ;)

@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants