Skip to content

Commit 881699e

Browse files
authored
Merge pull request #26 from lmammino/patch-1
Added Microsoft Online configuration
2 parents 28161dc + 8232479 commit 881699e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,11 @@ oauthPlugin.GOOGLE_CONFIGURATION = {
138138
tokenPath: '/oauth2/v4/token'
139139
}
140140

141+
oauthPlugin.MICROSOFT_CONFIGURATION = {
142+
authorizeHost: 'https://login.microsoftonline.com',
143+
authorizePath: '/common/oauth2/v2.0/authorize',
144+
tokenHost: 'https://login.microsoftonline.com',
145+
tokenPath: '/common/oauth2/v2.0/token'
146+
}
147+
141148
module.exports = oauthPlugin

0 commit comments

Comments
 (0)