hi <@498057949541826571> I test endpoints via post...
# support-questions-legacy
c
hi @rp_st I test endpoints via postman. For this, I need to refresh tokens at regular intervals. Is there a token for postman that does not require refresh?
r
hey @ceylan_89116 not really. You can extend the access token lifetime though in the core if you like.
c
Well, this period will change for all users, right? Can it be done on a user basis?
r
> Well, this period will change for all users, right? It will.
> Can it be done on a user basis? You can do it if you add a custom claim in tokens that acts as an artificial exp, and then for postman tokens, don't add that custom claim. Then post verification of the access token in your api, check the custom claim in the payload and if it's expired based on that, then send back a 401
so the actual value in the core will be very high. But the custom claim will artificially shorten the token's lifetime
c
okey, thank you @rp_st .
8 Views