-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
I'm currently calling validateJWT()
on every request from my microservices to validate the JWT. While I'm sure this may be a very lightweight request, but can FusionAuth
provide advice or examples for, say, validating the token on some microservice without having to make requests to the auth server?
The current implementation of validateJWT()
appears to make a network requests per invocation like so:
validateJWT(encodedJWT: string): Promise<ClientResponse<ValidateResponse>> {
return this.startAnonymous<ValidateResponse, void>()
.withUri('/api/jwt/validate')
.withAuthorization('Bearer ' + encodedJWT)
.withMethod("GET")
.go();
}
Metadata
Metadata
Assignees
Labels
No labels