Skip to main content

Posts

Showing posts from November, 2018

User Management with Auth0: A Deeper Look

It occurred to me that I never actually got into the nitty-gritty of my last post with some JavaScript code examples, and how easy it can be without being restricted to using templates that you need to force to make work. Take these first scripts: First, after including the API required, the first part is simply declaring your Domain and Client ID which you can find from the application's dashboard. The next two functions, _connectSocial and _login .  Are very similar.  The first takes a string of the social you would like to link (providing you have enabled it in your application within Auth0), and produces a popup modal for the user to enter their credentials. The second function allows you to simply pass a username and password which you can use values from a form you create.  You'll notice for both functions, it has a parameter it is passing called redirectUri .  Here I am specifying for it to come back to the same page after the authentication has processed.  Be s

User Management with Auth0

Tonight I wanted to write about my current journey with moving our user identity management provider (which shall rename nameless), over to Auth0.  I would like to talk about the pitfalls and triumphs as we go.  It's mostly all good - a shame we hadn't done so sooner! Now one of the most attractive attributes is the different methods/connectors that are provided in order to easily integrate your existing system, and I mean they cover just about everything , but this is also a segway to my first - very little - bit of criticism.  From what I see there are two main channels to provide some type of form to present to your user to input their credentials.  By the way, I'm still learning so please feel free to say I'm wrong at any stage. Lock / Universal Login   Hosted Pages There is a mention of a " custom " way to work with Lock, but the customization looks little to be desired.  As to the hosted pages , well, again - correct me if I'm wrong - but it l