Re:Three things to never build yourself: auth, notifications...
by mypalmike on Thursday May 13, 2021 @06:45PM
(#27148438)
He mentioned transparent migration and the problems encountered with it.
Re:Three things to never build yourself: auth, notifications...
by BoorishBears on Thursday May 13, 2021 @07:44PM
(#27148919)
> Auth providers cant help you because the passwords are hashed... You need the same algo or you cant authenticate using the data they have.
Seeing as you have that it becomes a non-issue
You absolutely can migrate away from Auth providers. Auth0 (disclaimer: former employer) hashes passwords with Bcrypt, which is most likely the same exact algorithm you would choose. Bcrypt stores salts & rounds as part of the hash making those hashes fairly portable.
Even if you wanted to change algorithms, there are ways to do this so that it is transparent to the user, such as running the plaintext password through a new algorithm after a successful authentication and storing it in a new column.