Configuring the Twitter login process in Phoenix

We're ready to start moving on to actually hooking up the configuration to some real code! The first thing we're going to do in our system is introduced ueberauth and ueberauth_twitter as dependencies to our application. Ueberauth is a handy authentication library that supports logging in via a few different strategies. The idea behind it is that the underlying code that supports the strategies are largely similar, and only a few of the minor details for each need to be modified behind the scenes. This allows us to spend a little bit of up-front development cost to get our first login system working and then spend incredibly little effort getting each additional OAuth provider implemented! ...

Get Phoenix Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.