Skip to content

Hollerweger/Gitkit-Javascipt-Enhancements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Gitkit-Javascipt-Enhancements

Gitkit Javascipt Enhacements

Enhanced gitkit.js with support for OAuth scope like in Gitkit v2

Add idpConfig to your config in your gitkit-widget:

idpConfig: {
	facebook: {
		scopes: [
			"public_profile",
			"user_friends",
			"email"
		]
	},
	google: {
		scopes: [
    	"https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/plus.login"
		]
	}
}

The Google+ scope isn't needed as it's the default one. Only tested with google+ and facebook login.

The name of the idpConfig childs must be in the first 45 chars of the IDPs authentication url to work.

About

Gitkit Javascipt Enhacements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published