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

Control the hashing/encryption algorithm of the password #386

Open
yescine opened this issue Aug 25, 2023 · 2 comments
Open

Control the hashing/encryption algorithm of the password #386

yescine opened this issue Aug 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@yescine
Copy link

yescine commented Aug 25, 2023

Feature Description
When sign-up or import users from external apps/system/DB the password already hashed with some hashing algorithm like bcrypt

Describe the solution you'd like
The possibilities to override the default hashing algorithm when adding users, ex: {"encryptionScheme":"bcrypt"}
https://fusionauth.io/docs/v1/tech/apis/users#import-users

Describe alternatives you've considered
null

Additional context
I have existing application which I would use Authorizer as users and identities management microservices

@yescine yescine added the enhancement New feature or request label Aug 25, 2023
@lakhansamani
Copy link
Contributor

Good idea,
Right now we are using bcrypt only, but later when we add support for more algos may be this will be more helpful

@yescine
Copy link
Author

yescine commented Aug 26, 2023

@lakhansamani right now the only way to add user is through graphQL signup mutation this only work if Authorizer is setup in new empty app,
My current app also use bcrypt, I didn' t find any other graphQL endpoint to bypass the bcrypt encryption (brute force insert data in DB is not really an option !)

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

No branches or pull requests

2 participants