Skip to content

Commit

Permalink
Fix camelcase
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauchli <[email protected]>
  • Loading branch information
Christian Brauchli committed Mar 18, 2021
1 parent b033017 commit 30c297e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connector/microsoft/microsoft.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (

const (
// Microsoft requires the scopes to start with openid
scopeOpenId = "openid"
scopeOpenID = "openid"
// Get the permissions configured on the application registration
// see https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#the-default-scope
scopeDefault = "https://graph.microsoft.com/.default"
Expand Down Expand Up @@ -124,7 +124,7 @@ func (c *microsoftConnector) groupsRequired(groupScope bool) bool {
}

func (c *microsoftConnector) oauth2Config(scopes connector.Scopes) *oauth2.Config {
microsoftScopes := []string{scopeOpenId}
microsoftScopes := []string{scopeOpenID}
microsoftScopes = append(microsoftScopes, scopeDefault)

if scopes.OfflineAccess {
Expand Down

0 comments on commit 30c297e

Please sign in to comment.