File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
export default ( options ) => {
2
- const tenant = options . tenantId ? options . tenantId : 'common' ;
2
+ const tenant = options . tenantId ? options . tenantId : 'common'
3
3
4
4
return {
5
5
id : 'microsoft' ,
6
6
name : 'Microsoft' ,
7
7
type : 'oauth' ,
8
8
version : '2.0' ,
9
9
params : {
10
- grant_type : 'authorization_code' ,
10
+ grant_type : 'authorization_code'
11
11
} ,
12
12
accessTokenUrl : `https://login.microsoftonline.com/${ tenant } /oauth2/v2.0/token` ,
13
13
authorizationUrl : `https://login.microsoftonline.com/${ tenant } /oauth2/v2.0/authorize?response_type=code&response_mode=query` ,
@@ -16,9 +16,9 @@ export default (options) => {
16
16
return {
17
17
id : profile . id ,
18
18
name : profile . displayName ,
19
- email : profile . userPrincipalName ,
20
- } ;
19
+ email : profile . userPrincipalName
20
+ }
21
21
} ,
22
- ...options ,
23
- } ;
24
- } ;
22
+ ...options
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments