You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disclaimer: not a member of the SimpleCommand team
SimpleCommand doesn't handle auth or token expiry itself, it's just a utility that provides a safe place to encapsulate that logic, which you are responsible for providing.
It sounds like you came here from a JWT tutorial like I did. You need to set the expiration date of the token when you create it, it's too late by the time you're using SimpleCommand.
Hi, I'm using SimpleCommand in a Rails app with an Angular 7 front end. It all works beautifully and the auth is smooth and great.
I'm doing a very simple implementation similar to the one you have here in Github example.
My question is: how do I adjust the expiration date of the token ? It seems to default to 24 hours ( I think )
Let me know if you can, or point me in the right direction... thanks !
The text was updated successfully, but these errors were encountered: