This commit is contained in:
Dan Cech 2018-01-18 19:17:05 -05:00
parent 04e17c145f
commit a09044a45a
No known key found for this signature in database
GPG Key ID: 6F1146C5B66FBD41
2 changed files with 13 additions and 13 deletions

View File

@ -225,7 +225,7 @@ func (s *SocialGenericOAuth) UserInfo(client *http.Client, token *oauth2.Token)
return userInfo, nil
}
func (s *SocialGenericOAuth) extractToken(data *UserInfoJson, token *oauth2.Token) (bool) {
func (s *SocialGenericOAuth) extractToken(data *UserInfoJson, token *oauth2.Token) bool {
idToken := token.Extra("id_token")
if idToken == nil {
s.log.Debug("No id_token found", "token", token)