mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-08-23 09:35:01 +02:00
Added an example of an authentication protected page (tenders) Added an example with the built in proxy (to combat CORS) (tendersguru)
32 lines
434 B
TypeScript
32 lines
434 B
TypeScript
export interface OIDCConfig {
|
|
/**
|
|
* Authority URL
|
|
*/
|
|
url: string;
|
|
|
|
/**
|
|
* Realm to authenticate against
|
|
*/
|
|
realm: string;
|
|
|
|
/**
|
|
* Id of this client
|
|
*/
|
|
clientId: string;
|
|
|
|
/**
|
|
* Scope(s) that you want to request
|
|
*/
|
|
scope: string;
|
|
|
|
/**
|
|
* URI to redirect to after successful login
|
|
*/
|
|
redirectUri: string;
|
|
|
|
/**
|
|
* redirect uri for the silent refresh
|
|
*/
|
|
silentRedirectUri: string;
|
|
}
|