boek / ueberauth_example

Example Phoenix application using Überauth for authentication

Home Page:http://ueberauth-example.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ü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 19
  • Elixir 1.3
  1. Retrieve app ids and secrets and set environment variables:

  2. Clone the project:

    $ git clone git@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.

About

Example Phoenix application using Überauth for authentication

http://ueberauth-example.herokuapp.com

License:MIT License


Languages

Language:Elixir 71.0%Language:CSS 15.0%Language:HTML 6.9%Language:JavaScript 6.1%Language:SCSS 0.9%