mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-04-20 22:13:31 +02:00
Added an example of an authentication protected page (tenders) Added an example with the built in proxy (to combat CORS) (tendersguru)
15 lines
428 B
TypeScript
15 lines
428 B
TypeScript
import { OidcConfiguration } from "@axa-fr/react-oidc/dist/vanilla/oidc";
|
|
import { Config } from "../config";
|
|
|
|
const { clientId, redirectUri, silentRedirectUri, scope, url } = Config.oidc;
|
|
|
|
/* eslint-disable camelcase */
|
|
export const SSOConfiguration: OidcConfiguration = {
|
|
client_id: clientId,
|
|
redirect_uri: redirectUri,
|
|
silent_redirect_uri: silentRedirectUri,
|
|
scope,
|
|
authority: url,
|
|
service_worker_only: false,
|
|
};
|