Skip to content
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

Make the authenticate method more flexible #61

Open
mariocarro opened this issue May 4, 2024 · 0 comments
Open

Make the authenticate method more flexible #61

mariocarro opened this issue May 4, 2024 · 0 comments

Comments

@mariocarro
Copy link

Is your feature request related to a problem? Please describe.
Some of our FeathersJS servers user several custom fields for the authentication, not only for the username.

Describe the solution you'd like
Just allow (optionally) sending an arbitrary JSON.

Describe alternatives you've considered
Added to the custom username field, we need to be able to use also a custom fieldname for the password, send additional login information (for example: module or facility being accessed), tracking information (that also varies from time to time), etc. A fixed parameter list is too limited. The parameters userName and password should not be required and an optional extraInfo parameter should be added.

Additional context
It's clear that a fixed parameter list is not enough in our case, but also other authentication methods (OAuth, API-key, etc) would not be feasible with the current interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant