Skip to content

Commit

Permalink
Merge pull request #7782 from RakhithaRR/430-revoke-jwt
Browse files Browse the repository at this point in the history
Remove invalid doc notes on token revocation
  • Loading branch information
tharikaGitHub authored Mar 24, 2024
2 parents f504b20 + d8335d9 commit 64c754f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions en/docs/design/api-security/oauth2/token-revocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,4 @@ The parameters required to invoke the following API are as follows:
Transfer-Encoding: chunked

```

!!! note "Revoking access tokens obtained with a JWT grant"

If you obtained an access token with the JWT grant type, you do not have to provide the client secret to revoke it. The sample cURL command to revoke an access token with JWT grant is given below.

``` java
curl -X POST -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" -d "token=<ACCESS_TOKEN_TO_BE_REVOKED>&token_type_hint=access_token&client_id=<CLIENT_ID>" http://localhost:8243/revoke
```

0 comments on commit 64c754f

Please sign in to comment.