User Auth
Last updated
Last updated
This features enables you to add support in your applications for your users to log in using social logins (Google, Github, ...). The data (user accounts and credentials) are stored within your database so you can query them like any other object.
We currently support this feature with MySQL and MongoDB. If you are interested in using User Auth with PostgreSQL, please reach out to us.
To use User Auth, your schema needs to have it enabled first. To do this, just click the "Enable User Auth" toggle in the schema editor and create a new commit with the schema.
Before configuring User Auth, make sure that you have an environment with the new Auth-enabled Commit running (see Creating a new Environment).
Once you configured the environment to use your new commit, you will see a "User Auth" tab in the environment dashboard.
In this tab you'll first set the redirect URL. This is where your application is running at and where your users will be redirected to after a successful login. Here this example is showing http://example.com
After that you will be prompted to add one or more Authentication Providers.
For every provider you will need a Client ID and Client Secret.
To set up the clients at the providers, see one of the following:
After you are done adding your providers, you can test your login by following the sign-in link below the provider table.
We make it very easy to add User Auth to your NextJS Application. Just head tohttps://github.com/neurelo-public/neurelo-auth-next and follow the README to get started.
If you would like to use User Auth with a different framework please reach out to us.