See: Description
Class | Description |
---|---|
GitHubOAuth2IdentityResolverService |
An identity resolver that calls GitHubs's user API https://developer.github.com/v3/users/
It requires that the authentication request includes the scope 'user'
|
To use GitHub as an authentication provider, the OAuth2Authentication needs to be configured to co-operate with the identity resolver like so:
"type" : "OAuth2", "authorizationEndpointURI" : "https://github.com/login/oauth/authorize", "tokenEndpointURI" : "https://github.com/login/oauth/access_token", "tokenEndpointNeedsAuth" : false, "identityResolverType" : "GitHubUser", "identityResolverEndpointURI" : "https://api.github.com/user", "clientId" : "......", "clientSecret" : "....", "scope" : "user"
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.