adding the following code:
tv := map[string]string{}
tv["aud"] = "api://default"
tv["cid"] = utils.Config.OktaClientID
jv := verifier.JwtVerifier{
Issuer: utils.Config.OktaIssuer,
ClaimsToValidate: tv,
}
result, err := jv.New().VerifyAccessToken(t)
cause every requests which normally takes less then 100MS to take over 1-2 seconds.
is this normal? is there a way to improve it?
adding the following code:
cause every requests which normally takes less then 100MS to take over 1-2 seconds.
is this normal? is there a way to improve it?