-
Notifications
You must be signed in to change notification settings - Fork 16
Third party Authorization
Fred Chien edited this page Sep 30, 2015
·
8 revisions
Third-party authorization is a way to sign in without signing up process. It makes user have good experience to login as long as they have account which exists on well-known third-party services.
In order to enable this feature, you must register for API access key on third-party service its developer page and modify configuration file in the ./configs.
Currently, Lantern have implemented third-party authorization for Github, Google+, Facebook and LinkedIn via OAuth mechanism.
- Go to Developer Settings page on Github website
- Click Register new application button
- Type basic information about your service
- Set Authorization callback URL to
http://<EXTERNAL URL>/auth/github/callback - Register
- You can get
ClientIDandclientSecret, copy it and replace original settings in configuration file.
"authorization": {
"github": {
"enabled": true,
"clientID": "<CLIENT ID>",
"clientSecret": "<CLIENT SECRET>"
}
}