Auth0 Provider & Strapi Tutorial

Software applications need a way to identify users, store user data uniquely and serve these data to the right user at the right time. This process gave rise to authentication and authorization in software development. Almost every application today has an authentication flow and if you look closely, you will notice the similarity in the flow of authentication across different applications.


This is a companion discussion topic for the original entry at https://strapi.io/blog/auth0-provider-and-strapi-tutorial

This article is good, but sadly it doesn’t explain or handle one of the big reasons for using strapi to handle authentication, which is to create a user. After going through this tutorial I may have logged into auth0, but I wouldn’t know because after the callback I don’t land on a real page “connect/auth0” isn’t a route in the login-react app. And no user was ever created in strapi… so I’m not really sure what the point of doing it this strategy is?

Hello,
Auth0 handles the authentication and returns a token, Users with valid tokens can gain access to data from the Strapi back end that requires authentication. The user data can be fetched from Auth0. Authenticated data fetched from Strapi requires that the token be passed along for a user to be granted access. This method will be best for front end applications already implementing authentication using Auth0. I personally would not recommend this if the application does not already implement authentication using Auth0 before integrating with Strapi. Regardless, this is just my opinion and I stand to be corrected. Hope this was helpful, thanks.

I saw Okta mentioned a lot in the Gold Enterprise Edition. Just licensed … No Okta provider in the menu of available. Can anyone guide in provisioning Okta as a provider? What are the necessary configurations required to enable Okta?