A sample Ember project that uses Github OAuth with Ember Simple Auth and Torii. Everything in this project is explaind in the official document - Full GitHub Authorization with the torii-provider
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>this repositorycd ember-auth-githubnpm install
Put your .env file in the project root.
GITHUB_DEV_CLIENT_ID=<YOUR_API_KEY>
GITHUB_DEV_CLIENT_SECRET=<YOUR CLIENT SECRET>
GITHUB_DEV_USER_AGENT=<YOUR APPLICATION NAME>
DEV_TOKEN_EXCHANGE_URL=http://localhost:4200/api/tokenember serve- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate for more details
ember testember test --server
ember build(development)ember build --environment production(production)
Specify what it takes to deploy your app.