Created
April 15, 2020 19:42
-
-
Save joawan/42fa1a6816e6cc936f909012e2e9e68e to your computer and use it in GitHub Desktop.
Token introspection init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tokenIntrospection = require('token-introspection')({ | |
jwks_uri: 'https://example.com/jwks', | |
endpoint: 'https://example.com/introspect', | |
client_id: 'client-id', | |
client_secret: 'client-secret', | |
}); | |
tokenIntrospection(token).then(console.log).catch(console.warn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment