Skip to content

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.

Github

  1. Go to Developer Settings page on Github website
  2. Click Register new application button
  3. Type basic information about your service
  4. Set Authorization callback URL to http://<EXTERNAL URL>/auth/github/callback
  5. Register
  6. You can get ClientID and clientSecret, copy it and replace original settings in configuration file.
"authorization": {
	"github": {
		"enabled": true,
		"clientID": "<CLIENT ID>",
		"clientSecret": "<CLIENT SECRET>"
	}
}

Clone this wiki locally