-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Add configuration for Identity API endpoints #55529
Comments
It would be beneficial to have an option to either disable endpoints or fully customize them via delegates. My primary issue with the API was the inability to implement login via email. This limitation stems from the current design, which searches for users by username as seen here:
And honestly it's also really confusing that the api asks for an email but searches for the username. Maybe this should be an issue after all? |
Same here, I encounter an issue with the generic call to add the Endpoint, only on the registration. Maybe this part can be improve to offer more customisation. |
had this exact same issue when trying to seed a default user and wondering for ages why it was not signing in - this gotcha with the username and email being forced to be the same is a strange behaviour. |
Background and Motivation
Although the Identity API is highly customizable one feature I am missing is the possibility to customize the Identity API endpoints. I copied the exisitng code and changed it to my needs. Below you can find the changes. If you find this feature usefull I would appreciate it if it be added to the code base.
Proposed API
Usage Examples
With the propsed changes the API endpoints can be configured like followed:
Risks
I don't see any risks as the changes are implemented as an optional parameter.
Looking forward to your feedback. Thank you for the consideration.
The text was updated successfully, but these errors were encountered: