To start this example app:
- Obtain Heroku OAuth credentials as listed in the ueberauth_heroku README
- Create a
config/dev.secret.exsand populate it like so:
use Mix.Config
config :ueberauth, Ueberauth.Strategy.Heroku.OAuth,
client_id: "My-Heroku-OAuth-Client-ID",
client_secret: "My-Heroku-OAuth-Client-Secret"- Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.create - Install Node.js dependencies with
npm install - Start Phoenix endpoint with
mix phoenix.server - Now you can visit
localhost:4000/auth/herokufrom your browser.
Please see LICENSE for licensing details.