-
-
Notifications
You must be signed in to change notification settings - Fork 500
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
usernameField and passwordField compatible with jsonapi standard. #153
Comments
Replace
|
@zipper97412 many thanks! Looking at the lookup functions this is how it works: Line 3 in 3b9980f
|
Have you considered using the passport-custom strategy instead? It is even more stripped back than passport-local, and makes no assumptions about how you are passing in the email and password. So for example you can read them from a JSON post as in your JSON:API example. |
I think the supposed way to provide a nested field is |
Hi
According to jsonapi (http://jsonapi.org/). I send this json to login in my api server:
How can i put this in userField and passwordField? (the example don't work)
Thanks :)
(Jsonapi is an STANDARD)
The text was updated successfully, but these errors were encountered: