Set-up token introspection
This guide explains how to configure Aidbox to trust external JWT
Token introspection is the setup when Aidbox trusts JWT
issued by external server.
In this guide external auth server URL is https://auth.example.com
Set up Aidbox
Create TokenIntrospector
TokenIntrospector
The other example would be:
Currently we use common secret
to validate our introspector works. In production installations it's better to switch to jwks_uri
instead
Define AccessPolicy
AccessPolicy
Create User
User
Validating introspector works
Build JWT
Use this tool to build your JWT. Mind the claims:
issuer
should behttps://auth.example.com
expiration
should be in the futuresubject
should bebasic
(user id)key
should bevery-secret
string
Press Create Signed JWT
button to get signed JWT. The generated JWT
looks like this
Use the JWT
to get the access
JWT
to get the accessMake an HTTP request providing authorization
header with the JWT
as a Bearer
token.
Last updated