@dan
Can you be able to help me understand these flows:
I have two users parent-user
and child-user
-
child-user
logged in and received a valid token with lengthy expiry
-
parent-user
deactivated child-user
using endpoint DELETE: /api/user
which successfully locked the user and showing locked in fusionauth UI
-
But, when child-user
requested data using token issued in step 1
, validate endpoint GET: api/jwt/validate
endpoint is not invalidating the user. And returning success response back. When i checked user, applications are present in registrations.
Is this a bug? How can i invalidate a locked user properly??
EDIT:
I have looked into your post: https://fusionauth.io/community/forum/topic/49/how-should-i-validate-access-tokens
And, make sense /api/jwt/validate is just validating expiry, signature and claims. But, when I hit /oauth2/introspect
endpoint I am still getting user status active
{
"active": true,
"applicationId": "<appid-uuid>",
"aud": "<appid-uuid>",
"auth_time": 1673234995,
"authenticationType": "PASSWORD",
"email": "myuser@mailinator.com",
"email_verified": true,
"exp": 1674444595,
"iat": 1673234995,
"iss": "auth-dev.mailinator.com",
"jti": "jti-uuid",
"roles": [],
"scope": "offline_access",
"sub": "<user-uuid>",
"tid": "<t-uuid>"
}