Skip to content

maxbeizer/ueberauth_heroku_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ueberauth Heroku Example

To start this example app:

  • Obtain Heroku OAuth credentials as listed in the ueberauth_heroku README
  • Create a config/dev.secret.exs and 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/heroku from your browser.

License

Please see LICENSE for licensing details.

About

Example Phoenix app using ueberauth_heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •