News for hackers. Stuff that matters.
Re:Three things to never build yourself: auth, notifications... by MikeKusold on Thursday May 13, 2021 @03:56PM (#27146603)
> Auth providers cant help you because the passwords are hashed... You need the same algo or you cant authenticate using the data they have.

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.

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

Re:Three things to never build yourself: auth, notifications... by mypalmike on Friday May 14, 2021 @01:23AM (#27151013)
Perhaps I'm incorrectly assuming auth providers don't expose an API for exporting all that data. Such an API would seem to be a fairly attractive attack vector.
Re:Three things to never build yourself: auth, notifications... by systoll on Friday May 14, 2021 @05:11AM (#27152318)
Auth0 and fusionAuth don’t have APIs but will process requests manually.