Trying to sign a new token for Prisma. I need to u...
# orm-help
j
Trying to sign a new token for Prisma. I need to use an external service to edit the expiration time (correct?) but I’m having an issue with https://www.jsonwebtoken.io/
h
Hi, Please follow these steps to generate one https://github.com/prisma/prisma/issues/4016#issuecomment-461382936
j
Ok thanks
Still not getting it right… must be doing something wrong
There’s a “secret base64 encoded” checkbox - should this be on?
h
no it should not be on
j
Didn’t work with it anyway… what I’m doing works with my prisma generated token, but not after pasting it from the tool after changing the expiration date
Is there a maximum for the expiration date?
h
No, it is embedded in the token, You can also programatically generate it, just copy the contents and encode it
j
Yeah, I guess I’m gonna make a simple node script for this
Still not sure what’s up with this, should work as described and I thought I understood how these tokens work! Would be nice to have this feature in the CLI for sure 🙂