Team, what can we do if we don't want to set refre...
# support-questions-legacy
m
Team, what can we do if we don't want to set refresh tokens etc? That is don't create a session which can refresh itself?
r
hey @mib200 you can achieve this by overring the session recipe functions to have your own tokens. Here is an example of how we change the session recipe to work with just a simple JWT (without refresh tokens): https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-jwt-localstorage/api-server/index.ts#L152
3 Views