Skip to content

How to clear session when revoke token ? #262

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

Closed
gth7754125 opened this issue Mar 17, 2021 · 1 comment
Closed

How to clear session when revoke token ? #262

gth7754125 opened this issue Mar 17, 2021 · 1 comment
Assignees
Labels
status: invalid An issue that we don't feel is valid

Comments

@gth7754125
Copy link

Describe the bug
The revoke token api seems need these arguments:

  1. tokenValue
  2. token_type_hint
    3)client id and client secret
    Can it remove client id and client secret ? my client just keep a client id, it can not access Authentication Server directly bacause it lacks of client secret.

Expected behavior
Can it just pass a token and token_type_hint to revoke token ?
Or else i can not clear the session(client and Authentication Server) because resource server sits between them.

@gth7754125 gth7754125 added the type: bug A general bug label Mar 17, 2021
@jgrandja
Copy link
Collaborator

@gth7754125 The client MUST authenticate at the Revocation endpoint.

See 2.1. Revocation Request:

The client also includes its authentication credentials as described
in Section 2.3. of [RFC6749]

Please review the spec for more details.

@jgrandja jgrandja self-assigned this Mar 19, 2021
@jgrandja jgrandja added status: invalid An issue that we don't feel is valid and removed type: bug A general bug labels Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

2 participants