Replies: 1 comment
-
|
Yes it is possible in Ory Kratos: https://www.ory.sh/docs/kratos/session-management/check-session |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Token introspection is possible in ORY KRATOS ? The introspection is possible in ORY HYDRA.
Ory Hydra
const token = 'the access token'
const body = qs.stringify({ token })
fetch('http:///oauth2/introspect', {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Length': body.length
},
method: 'POST', body
}).then(body => {
if (!body.active) {
// Token isn't active/valid
}
})
Beta Was this translation helpful? Give feedback.
All reactions