bump auth module
Follow-up for https://github.com/go-pkgz/auth/pull/107
This commit is contained in:
committed by
Umputun
parent
49d2552a78
commit
6fe83fb6b8
+2
-1
@@ -5,6 +5,7 @@ import (
|
||||
"crypto/sha1" //nolint
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/dghubble/oauth1"
|
||||
"github.com/dghubble/oauth1/twitter"
|
||||
"github.com/go-pkgz/auth/token"
|
||||
@@ -173,7 +174,7 @@ func NewBattlenet(p Params) Oauth2Handler {
|
||||
func NewMicrosoft(p Params) Oauth2Handler {
|
||||
return initOauth2Handler(p, Oauth2Handler{
|
||||
name: "microsoft",
|
||||
endpoint: microsoft.AzureADEndpoint("consumers"),
|
||||
endpoint: microsoft.AzureADEndpoint("common"),
|
||||
scopes: []string{"User.Read"},
|
||||
infoURL: "https://graph.microsoft.com/v1.0/me",
|
||||
// non-beta doesn't provide photo for consumers yet
|
||||
|
||||
Reference in New Issue
Block a user