mdouchement / standardfile

Yet Another Standardfile (standardnotes server) Implementation written in Golang
MIT License
79 stars 9 forks source link

Account creation issue #27

Closed stevesbrain closed 4 years ago

stevesbrain commented 4 years ago

Hi there!

First up: love the project. Backend makes a super fast alternative to the official run (which runs very slowly on my own services when compared to this one). However, one small issue - on account creation, it immediately goes to an "expired session" forcing me to log out, and then back in again. Not a big deal by any means, but still something worth looking at in future :)

mdouchement commented 4 years ago

Thanks for reporting the issue. At a first thought if user.PasswordUpdatedAt and claims["iat"] timestamps are generated within the same second the authentication token will be revoked. I will investigate furthermore next week.