My project for authentication like auth0 and so ig but open-source and you can selfhost it
It's in progress because I copied it from another project of mine which is 5 years old and I need to edit a lot of code in it
So now it's not really suitable to use