1
0
Fork 0

document inspect endpoint

Dieser Commit ist enthalten in:
AJ ONeal 2020-05-11 04:51:18 +00:00
Ursprung 285dc81dd7
Commit 83a5642829
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -13,6 +13,7 @@ Compatible with
* https://mock.pocketid.app/access_token
* https://mock.pocketid.app/authorization_header
* https://mock.pocketid.app/inspect_token
* https://xxx.mock.pocketid.app/.well-known/openid-configuration
* https://xxx.mock.pocketid.app/.well-known/jwks.json
* https://mock.pocketid.app/key.jwk.json
@ -48,6 +49,13 @@ For example:
HEADER=$(curl -fL https://mock.pocketid.app/authorization_header)
# Authorization: Bearer <token>
<h3>Inspecting the Token</h3>
You can see its decoded form at the `inspect_token` endpoint:
curl -fL https://mock.pocketid.app/inspect_token \
-H "$(curl -fL https://mock.pocketid.app/authorization_header)"
<h3>The Token, Decoded</h3>
The Token will look like this: