-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MEAN.JS integration #33
Comments
there is an example included in the repo |
Yes, thanks, but somehow i cannot use it in MEAN.JS stack, when user registers, it's ok, then it can sign-in, but when he signs-out and sign-ins again, the password hashes do not match |
sounds unrelated to this module - it doesnt use a password or hash, just an api token |
Maybe the bearer token was confused with a password hash. You probably get a new bearer token each time you authenticate. It's similar to a session ID. |
There is a good sample, https://github.com/castlewhitehall/meanjs-with-token-auth |
Please can you provide example of integration.
strategies/bearer.js (new file)
Added
token
field to user modelAdded middleware in router
Dunno what else i must do, any ideas?
The text was updated successfully, but these errors were encountered: