-
-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathAuth.js
More file actions
18 lines (13 loc) · 718 Bytes
/
Auth.js
File metadata and controls
18 lines (13 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
OAuthRoot: "https://login.microsoftonline.com/",
Tentant: "<Tentant>", //Replace with info from Azure Portal
ClientID: "<ClientId>", //Replace with info from Azure Portal
ClientSecret: "<ClientSecret>", //Replace with info from Azure Portal
Scope: "offline_access",
SignUpPolicy: "B2C_1_Signup", //Replace with your Extensible policy for signup label
SignInPolicy: "B2C_1_SignIn", //Replace with your Extensible policy for signin label
EditProfilePolicy: "B2C_1_EditProfile", //Replace with your Extensible policy for editing label
OAuthResponseType: "code",
OAuthResponseMode: "query",
RedirectUri: "urn:ietf:wg:oauth:2.0:oob" // Oauth 2.0 Default URI
};