Spit Sign In - Sign Up
All checks were successful
Client Registration / build-deploy (push) Successful in 10s

This commit is contained in:
Grae Jones
2026-03-23 09:39:44 -07:00
parent 3a310c5d3f
commit 732f81333b
5 changed files with 157 additions and 51 deletions

View File

@@ -1,22 +1,21 @@
/**
* MSAL Configuration for Entra External ID (Customer Identity / CIAM)
* MSAL Configuration for Entra External ID (Customer Identity)
*
* Tenant: Positive Spend Clients
* Domain: positiveclients.onmicrosoft.com
* Tenant ID: cbf8b7d7-1e13-486d-b5b0-287ba79fdf0b
* SPA App: AdPlatform Client SPA (43c493e4-e1ed-4cd7-ab0a-e507e20af724)
* Authority: https://positiveclients.ciamlogin.com/
* 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: '43c493e4-e1ed-4cd7-ab0a-e507e20af724',
authority: 'https://positiveclients.ciamlogin.com/',
redirectUri: 'https://register.positivespend.com',
postLogoutRedirectUri: 'https://register.positivespend.com',
knownAuthorities: ['positiveclients.ciamlogin.com'],
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',
cacheLocation: 'sessionStorage',
storeAuthStateInCookie: false,
},
};
@@ -25,6 +24,9 @@ export const loginRequest = {
scopes: ['openid', 'profile', 'email'],
};
// Gateway forwards to registration:8080 internally
export const API_BASE_URL = 'https://portal.positivespend.com';
export const API_FUNCTION_KEY = '';
// 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 = '';