Is there a way to get a permanent token in prisma?
# prisma-whats-new
t
Is there a way to get a permanent token in prisma?
m
it’s your
secret
🙂
also, if you
disableAuth
you need no “permanent token”
n
more accurately,
prisma token
generates an access token that is signed using one of the secrets entered in
secret
💚 1
You can sign such a token yourself, using any JWT library. then you can set the expiry yourself, as well. More information here: https://www.prismagraphql.com/docs/reference/prisma-api/concepts-utee3eiquo#authentication
t
great thx!!!!