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
Move the bcrypt password comparison up to the Source and introduce a
cache there. This reduces the expensive bcrypt calls by a lot, reducing
the authorization delay from round about two seconds to single-digit
milliseconds on my machine.
On a similar note, we should consider changing the API to allow creating
some token after an initial password authorization instead of passing
the authentication data all the time.
0 commit comments