Override default emailpass auth provider module #8541
ByteVault
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now I'm facing the issue of migrating users from other platforms (firebase, cognito) to mine without asking them to reset password. Because others use different hash functions. I would like to override this using my own emailpass provider.
I can't figure out a workaround for this. Adding my own emailpass provider to the auth configs won't work, because it would always resolve to the first provider with id 'emailpass', which is hard coded to be the first in array.
And I can see that in auth provider loader, comment on line 36 says:
When will this be removed? I think it could be put in the config file by default instead of in the auth module?
Beta Was this translation helpful? Give feedback.
All reactions