File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ export {};
88type OptionalOptionParameters = "authorizationURL" | "tokenURL" | "scopeSeparator" | "customHeaders" ;
99
1010interface MicrosoftSpecificStrategyOptions {
11+ apiEntryPoint : string ;
12+ graphApiVersion : string ;
1113 tenant : string ;
1214}
1315
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "name" : " @types/passport-microsoft" ,
4- "version" : " 1.0 .9999" ,
4+ "version" : " 2.1 .9999" ,
55 "projects" : [
66 " https://github.com/seanfisher/passport-microsoft#readme"
77 ],
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ const User = {
1111passport . use (
1212 new MicrosoftStrategy (
1313 {
14+ apiEntryPoint : "https://graph.microsoft.us" ,
15+ graphApiVersion : "beta" ,
1416 tenant : "thisIsMyTenant" ,
1517 clientID : "thisIsMyClientId" ,
1618 clientSecret : "thisIsMyClientSecret" ,
You can’t perform that action at this time.
0 commit comments