<@498057949541826571> need support, when we deploy...
# support-questions-legacy
u
@rp_st need support, when we deploy Supertoken core to decrease access token validity from 30 days to one hour, we've got this error:
Copy code
jwt invalid: failed to deserialize token claims: could not get token claims: go-jose/go-jose: unsupported key type/format
that's happen when and after we deploy it. Any reason why?
@rp_st And I've seen lot of /refresh being called
this potentially give us a when the traffic is high again
r
the spiek in refresh is cause you changed the access token lifetime to be smaller
im not sure about the golang erorr. Probably some clock skew issue
u
so when we change access token, it will refresh all previous token that exists right after the Supertoken core deployment?
r
Not existing tokens. They will expire when they expire. But all new tokens will have that. Or, if you call mergeIntoAccessTokenPayload on existing sessions, the new tokens from that will also have that.
u
@rp_st I see, so its just for the newly expired token. I revert it for now. but confusingly, the number of 401 is high even after revert. I am still trying to understand the clock skew issue that you’ve mentioned above.
@rp_st question, when redeploying Supertoken core, will it also refresh/ force rotate the jwks?
r
it doesnt create new ones on deployment, unless you have cleared the database
9 Views