// src/auth/config.ts import { UserManager, WebStorageStateStore } from 'oidc-client-ts'; const redirectUri = `${window.location.origin}${window.location.pathname}`; export const userManager = new UserManager({ authority: 'https://auth.inwink.com/inwink', client_id: 'inwink-extensions', redirect_uri: redirectUri, response_type: 'code', scope: 'openid profile email', loadUserInfo: true, monitorSession: false, automaticSilentRenew: false, userStore: new WebStorageStateStore({ store: localStorage }), });