Giter VIP home page Giter VIP logo

meteor-accounts-github-example's Introduction

meteor-accounts-github-example

Meteor example of accounts-github package

How to setup

1) Clone this repository to local and run

git clone https://github.com/nobutakaoshiro/meteor-accounts-github-example.git
cd meteor-accounts-github-example/app
meteor

2) Add {{> loginButtons}} to Meteor Template

app.html

<template name="hello">
  <!-- ... -->
  {{> loginButtons}}
</template>

3) Create new GitHub Developer application

  1. Goto: https://github.com/settings/applications/new
  2. Enter app information below and click Register application
  1. Note Client ID and Client Secret

4) Configure GitHub Login

  1. Open http://localhost:3000/ with Web Browser
  2. Click Configure GitHub Login
  3. Enter GitHub Dev App's Clint ID and Client Secret
  • Choose the login style: Popup-based login (recommended for most applications)
  1. Click Save Configuration

5) Login with GitHub

  1. Open http://localhost:3000/ with Web Browser
  2. Click Sign in with GitHub
  • Will open Pop-up window, then Sign in with GitHub Account
  1. Click Authorize application

Memo

meteor create app
cd app
meteor add accounts-ui accounts-github

meteor-accounts-github-example's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.