/**
 * MSAL Configuration for Entra External ID (Customer Identity / CIAM)
 *
 * Tenant:    Positive Spend Clients
 * Domain:    positiveclients.onmicrosoft.com
 * Tenant ID: cbf8b7d7-1e13-486d-b5b0-287ba79fdf0b
 * SPA App:   AdPlatform Client SPA
 * Client ID: 43c493e4-e1ed-4cd7-ab0a-e507e20af724
 */
export const msalConfig = {
    auth: {
        clientId:              '43c493e4-e1ed-4cd7-ab0a-e507e20af724',
        authority:             'https://positiveclients.ciamlogin.com/positiveclients.onmicrosoft.com',
        redirectUri:           'https://register.positivespend.com',
        postLogoutRedirectUri: 'https://register.positivespend.com',
        knownAuthorities:      ['positiveclients.ciamlogin.com'],
    },
    cache: {
        cacheLocation:          'sessionStorage',
        storeAuthStateInCookie: false,
    },
};

export const loginRequest = {
    scopes: ['openid', 'profile', 'email'],
};

export const API_BASE_URL     = 'https://portal.positivespend.com';
export const API_FUNCTION_KEY = '';