Revised authconfig
All checks were successful
Client Registration / build-deploy (push) Successful in 14s

This commit is contained in:
Grae Jones
2026-03-22 09:54:12 -07:00
parent ef378b7cbf
commit 6006834265
2 changed files with 9 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,21 +1,13 @@
/**
* 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 = { export const msalConfig = {
auth: { auth: {
clientId: '154c9111-14a0-4c0f-8132-7bc68254a74e', clientId: 'c426967f-bfcc-46af-b4e5-d69dc01cbf75',
authority: 'https://usimclients.ciamlogin.com/891f98f1-ed34-42a1-9b6c-28b0554d92c2', authority: 'https://PositiveSpendClients.ciamlogin.com/cbf8b7d7-1e13-486d-b5b0-287ba79fdf0b',
redirectUri: window.location.origin, redirectUri: 'https://register.positivespend.com',
postLogoutRedirectUri: window.location.origin, postLogoutRedirectUri: 'https://register.positivespend.com',
knownAuthorities: ['usimclients.ciamlogin.com'], knownAuthorities: ['PositiveSpendClients.ciamlogin.com'],
}, },
cache: { cache: {
cacheLocation: 'sessionStorage', cacheLocation: 'sessionStorage',
storeAuthStateInCookie: false, storeAuthStateInCookie: false,
}, },
}; };
@@ -24,9 +16,5 @@ export const loginRequest = {
scopes: ['openid', 'profile', 'email'], scopes: ['openid', 'profile', 'email'],
}; };
// Registration Function API export const API_BASE_URL = 'https://portal.positivespend.com';
export const API_BASE_URL = 'https://adpregapi.usimdev.com'; export const API_FUNCTION_KEY = '';
// Function key for Registration API (AuthorizationLevel.Function)
// TODO: Set this from your Azure Function → App Keys → default host key
export const API_FUNCTION_KEY = '';