Skip to content

ueberauth/ueberauth_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 12, 2022
386bc65 · Dec 12, 2022
Dec 12, 2022
Nov 14, 2022
Feb 16, 2021
Feb 16, 2021
Feb 16, 2021
Jan 25, 2021
Jan 25, 2021
Jan 31, 2020
Jan 25, 2021
Nov 21, 2015
Nov 21, 2015
Dec 12, 2022
Jan 25, 2021
Jul 30, 2021
Jul 30, 2021

Repository files navigation

Überauth Example

License

Using Überauth for authentication in Phoenix.

This project demonstrates how to use Überauth and multiple strategies to provide authentication for a Phoenix application. The project has been setup to run on Heroku can can be found at ueberauth-example.herokuapp.com.

In this example we'll use five strategies:

Setup

  1. Ensure the following prerequisites are met/installed:
  • Erlang 23
  • Elixir 1.11
  1. Retrieve app ids and secrets and set environment variables:

  2. Clone the project:

    $ git clone https://github.com/ueberauth/ueberauth_example.git
    $ cd ueberauth_example
  3. Fetch dependencies:

    $ mix deps.get && npm install --prefix assets
  4. Run server:

    $ mix phx.server
  5. Authenticate at http://localhost:4000!

Configuration

See Überauth for detailed instructions.

License

Please see LICENSE for licensing details.