|
6 | 6 | realmRef:
|
7 | 7 | name: keycloakrealm-sample
|
8 | 8 | kind: KeycloakRealm
|
9 |
| - alias: MyBrowser |
10 |
| - description: browser flow |
| 9 | + alias: Demo |
| 10 | + description: Example of KeycloakAuthFlow |
11 | 11 | providerId: basic-flow
|
12 | 12 | topLevel: true
|
13 | 13 | builtIn: false
|
|
17 | 17 | requirement: "ALTERNATIVE"
|
18 | 18 | - authenticator: "identity-provider-redirector"
|
19 | 19 | priority: 1
|
20 |
| - requirement: "REQUIRED" |
| 20 | + requirement: "ALTERNATIVE" |
21 | 21 | authenticatorConfig:
|
22 | 22 | alias: my-alias
|
23 | 23 | config:
|
24 | 24 | "defaultProvider": "my-alias"
|
| 25 | +--- |
| 26 | +apiVersion: v1.edp.epam.com/v1 |
| 27 | +kind: KeycloakAuthFlow |
| 28 | +metadata: |
| 29 | + name: keycloakauthflow-forms |
| 30 | +spec: |
| 31 | + realmRef: |
| 32 | + name: keycloakrealm-sample |
| 33 | + kind: KeycloakRealm |
| 34 | + alias: Forms |
| 35 | + description: browser auth forms |
| 36 | + providerId: basic-flow |
| 37 | + topLevel: false |
| 38 | + parentName: Demo |
| 39 | + childType: basic-flow |
| 40 | + builtIn: false |
| 41 | +--- |
| 42 | +apiVersion: v1.edp.epam.com/v1 |
| 43 | +kind: KeycloakAuthFlow |
| 44 | +metadata: |
| 45 | + name: keycloakauthflow-x509 |
| 46 | +spec: |
| 47 | + realmRef: |
| 48 | + name: keycloakrealm-sample |
| 49 | + kind: KeycloakRealm |
| 50 | + alias: X509 |
| 51 | + description: Client certificate, and other auth forms. |
| 52 | + providerId: basic-flow |
| 53 | + topLevel: false |
| 54 | + parentName: Forms |
| 55 | + childType: basic-flow |
| 56 | + builtIn: false |
| 57 | + authenticationExecutions: |
| 58 | + - authenticator: "auth-x509-client-username-form" |
| 59 | + priority: 0 |
| 60 | + requirement: "ALTERNATIVE" |
| 61 | +--- |
| 62 | +apiVersion: v1.edp.epam.com/v1 |
| 63 | +kind: KeycloakAuthFlow |
| 64 | +metadata: |
| 65 | + name: keycloakauthflow-otp |
| 66 | +spec: |
| 67 | + realmRef: |
| 68 | + name: keycloakrealm-sample |
| 69 | + kind: KeycloakRealm |
| 70 | + alias: Conditional OTP |
| 71 | + description: Flow to determine if the OTP is required for the authentication. |
| 72 | + providerId: basic-flow |
| 73 | + topLevel: false |
| 74 | + parentName: X509 |
| 75 | + childType: basic-flow |
| 76 | + builtIn: false |
| 77 | + authenticationExecutions: |
| 78 | + - authenticator: "conditional-user-configured" |
| 79 | + priority: 0 |
| 80 | + requirement: "ALTERNATIVE" |
| 81 | + - authenticator: "auth-otp-form" |
| 82 | + priority: 0 |
| 83 | + requirement: "ALTERNATIVE" |
0 commit comments