https://github.com/maxbeizer/ueberauth_heroku_example
Example Phoenix app using ueberauth_heroku
https://github.com/maxbeizer/ueberauth_heroku_example
Last synced: 8 months ago
JSON representation
Example Phoenix app using ueberauth_heroku
- Host: GitHub
- URL: https://github.com/maxbeizer/ueberauth_heroku_example
- Owner: maxbeizer
- License: mit
- Created: 2016-10-30T15:46:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:33:00.000Z (over 3 years ago)
- Last Synced: 2025-10-10T14:21:05.338Z (8 months ago)
- Language: Elixir
- Homepage:
- Size: 541 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ueberauth Heroku Example
To start this example app:
* Obtain Heroku OAuth credentials as listed in the [ueberauth_heroku README](https://github.com/maxbeizer/ueberauth_heroku#installation)
* Create a `config/dev.secret.exs` and populate it like so:
```elixir
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`](http://localhost:4000/auth/heroku) from your browser.
## License
Please see [LICENSE](https://github.com/maxbeizer/ueberauth_heroku_example/blob/master/LICENSE) for licensing details.