First build
Some checks failed
Client Admin / build-deploy (push) Failing after 8s
Client Client / build-deploy (push) Failing after 3s
Client Registration / build-deploy (push) Failing after 20s
Client Tech / build-deploy (push) Failing after 1s
Client Home / build-deploy (push) Successful in 14s
Some checks failed
Client Admin / build-deploy (push) Failing after 8s
Client Client / build-deploy (push) Failing after 3s
Client Registration / build-deploy (push) Failing after 20s
Client Tech / build-deploy (push) Failing after 1s
Client Home / build-deploy (push) Successful in 14s
This commit is contained in:
32
Client-Registration/src/auth/authConfig.js
Normal file
32
Client-Registration/src/auth/authConfig.js
Normal file
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* MSAL Configuration for Entra External ID (Customer Identity)
|
||||
*
|
||||
* This uses the External ID tenant (CIAM) — different from the
|
||||
* internal Entra tenant used by the Admin/Management console.
|
||||
*
|
||||
* TODO: Replace placeholder values with actual External ID tenant details.
|
||||
*/
|
||||
export const msalConfig = {
|
||||
auth: {
|
||||
clientId: '154c9111-14a0-4c0f-8132-7bc68254a74e',
|
||||
authority: 'https://usimclients.ciamlogin.com/891f98f1-ed34-42a1-9b6c-28b0554d92c2',
|
||||
redirectUri: window.location.origin,
|
||||
postLogoutRedirectUri: window.location.origin,
|
||||
knownAuthorities: ['usimclients.ciamlogin.com'],
|
||||
},
|
||||
cache: {
|
||||
cacheLocation: 'sessionStorage',
|
||||
storeAuthStateInCookie: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const loginRequest = {
|
||||
scopes: ['openid', 'profile', 'email'],
|
||||
};
|
||||
|
||||
// Registration Function API
|
||||
export const API_BASE_URL = 'https://adpregapi.usimdev.com';
|
||||
|
||||
// Function key for Registration API (AuthorizationLevel.Function)
|
||||
// TODO: Set this from your Azure Function → App Keys → default host key
|
||||
export const API_FUNCTION_KEY = '';
|
||||
Reference in New Issue
Block a user