Sample Chat App
- Custom GitHub Login
- Flow Router : meteorhacks:flow-router
- Flow Components : meteorhacks:flow-components
(If you haven’t GitHub Account already, you need to create one first.)
- Login Your GitHub Account
- Open ‘Settings’ Page
- Go Applications Tab
- Click ‘Register a new application’ link
- Register an application as follows
- Copy and save 'Client ID' and 'Client Secret'
- Open server/config.js on project folder
- Update the Client ID and Client Secret on config.js
ServiceConfiguration.configurations.remove({
service : 'github'
});
ServiceConfiguration.configurations.insert({
service : 'github',
clientId: ‘<CLIENT_ID>',
secret : ‘<CLIENT_SECRET>'
});
That’s all. :-).