An Elixir authentication system for Plug-based web applications
open sourceMITfree
Überauth (ueberauth) is a two-phase authentication framework for Elixir web applications built on Plug, such as Phoenix apps, with a clear API for strategies that the community writes and shares. It's heavily inspired by Ruby's OmniAuth, and is used mostly to sign people in with third-party providers. It handles only the initial challenge (the OAuth flow, or collecting a login form) and leaves authenticating each request to the application, and it works with mix phx.gen.auth. The team maintains Apple, Facebook, GitHub, Google and Twitter strategies in the same repository, and many more are on Hex. MIT licence.
Problems it solves
- add Sign in with Google and GitHub to my Phoenix app
- an OmniAuth equivalent for Elixir
- OAuth login with several providers in an Elixir web app
Features
- two-phase request and callback flow for Plug and Phoenix apps
- pluggable strategies, shared as Hex packages
- Apple, Facebook, GitHub, Google and Twitter strategies maintained by the team
- works alongside mix phx.gen.auth
