Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

yep probably the better idea. eventually we combine sessions and JWT Tokens. The session id is kind of a refresh token that refreshes the token if it was expired and the user didn't generate a new token in less than one minute. than it will use the session id will query the database and create a new token if the session is still valid.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: