Auth0 is a flexible, drop-in solution to add authentication and authorization services to your applications. It is useful if you want your users to be able to log in either with a username/password or with their social media accounts. With Raklet and Auth0 integration, you and your team can save cost and time.
Sign Up and Create an App
To begin with, let's go and create an account on Auth0. Then, from the main menu on the left side, we click on "Applications" and then "Applications" again in the sub-menu. As we can see below, Auth0 already gives us a generic, default app. We can either customize and use it, or we can click on "Back to Applications" and create another app for our needs and wishes.
Enter Your Organization URI to Application URIs
After we fill out other information such as our app's domain or logo (which are totally optional) we enter our application's login page URI, allowed callback URLs, and allowed logout URLs. (We can find these links on Auth0 settings, our Raklet page )
Now, we create members to give them the authorization to sign in our application. To do that, we go to the main menu on the left side and click on "User Management" and then "Users". Once we click on the "Create user" button, we specify the email address and the password to be used while signing in.
Integrate Auth0 to Raklet
Now, we log in to our Raklet page and click on "App Store" from the main menu on the left, and then "Integrations" from the top. We choose "Auth0" from the list. The first 3 lines will be already automatically designated.
Next, We go back to our application page on Auth0, and we copy "Domain" to the 4th, "Client ID" to the 5th, and "Client Secret" to the 6th lines in our Raklet-Auth0 page.
Log in with Auth0
If everything is done accordingly, the next time we try to log in to our Raklet page,
We'll be asked for an email address and a password that was initially assigned.