Jump to content

OpenID Connect Logout endpoint


Recommended Posts

Hi there,

Trying to implement an authentication flow with whmcs using OpenID Connect. 

I have implemented the login functionality and it works well but when i try to logout like this:

var endSession = client.endSessionUrl({
    post_logout_redirect_uri: clientConfig.post_logout_redirect_uri,
    id_token_hint: session.access_token,
    state: generators.state(),
  });

I get this error:

TypeError: end_session_endpoint must be configured on the issuer

... and accessing 

https://whmcs.example.com/oauth/openid-configuration.php

i dont see any `end_session_endpoint`.

Any help on how to logout using OpenID Connect would be appreciated!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated