Skip to content

necojackarc-sandbox/ember-auth-github

Repository files navigation

ember-auth-github

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

Prerequisites

Installation

  • git clone <repository-url> this repository
  • cd ember-auth-github
  • npm install

Configuration

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/token

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

Releases

No releases published

Packages

No packages published