mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-08-23 17:44:52 +02:00
Added react-oidc (use demo/demo)
Added an example of an authentication protected page (tenders) Added an example with the built in proxy (to combat CORS) (tendersguru)
This commit is contained in:
31
src/infrastructure/sso/models/OIDCConfig.tsx
Normal file
31
src/infrastructure/sso/models/OIDCConfig.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
3
src/infrastructure/sso/models/SSOResult.tsx
Normal file
3
src/infrastructure/sso/models/SSOResult.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface SSOResult {
|
||||
configurationName: string;
|
||||
}
|
Reference in New Issue
Block a user