Skip to content

Commit bb20163

Browse files
fix: Add missing standard_flow_enabled to OIDC client examples (#1325) (#1326)
Add missing `standard_flow_enabled = true` Fixes #1325 Signed-off-by: Thomas Darimont <[email protected]>
1 parent 6c21297 commit bb20163

File tree

1 file changed

+30
-28
lines changed

1 file changed

+30
-28
lines changed

docs/resources/openid_client.md

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,24 @@ resource "keycloak_realm" "realm" {
2626
}
2727
2828
resource "keycloak_openid_client" "openid_client" {
29-
realm_id = keycloak_realm.realm.id
30-
client_id = "test-client"
29+
realm_id = keycloak_realm.realm.id
30+
client_id = "test-client"
3131
32-
name = "test client"
33-
enabled = true
32+
name = "test client"
33+
enabled = true
3434
35-
access_type = "CONFIDENTIAL"
36-
valid_redirect_uris = [
37-
"http://localhost:8080/openid-callback"
38-
]
35+
access_type = "CONFIDENTIAL"
36+
standard_flow_enabled = true
37+
valid_redirect_uris = [
38+
"http://localhost:8080/openid-callback"
39+
]
3940
40-
login_theme = "keycloak"
41+
login_theme = "keycloak"
4142
42-
extra_config = {
43-
"key1" = "value1"
44-
"key2" = "value2"
45-
}
43+
extra_config = {
44+
"key1" = "value1"
45+
"key2" = "value2"
46+
}
4647
}
4748
```
4849

@@ -60,26 +61,27 @@ ephemeral "random_password" "openid_client_secret" {
6061
}
6162
6263
resource "keycloak_openid_client" "openid_client" {
63-
realm_id = keycloak_realm.realm.id
64-
client_id = "test-client"
64+
realm_id = keycloak_realm.realm.id
65+
client_id = "test-client"
6566
66-
name = "test client"
67-
enabled = true
67+
name = "test client"
68+
enabled = true
6869
69-
client_secret_wo = ephemeral.random_password.openid_client_secret.result
70-
client_secret_wo_version = 1
70+
client_secret_wo = ephemeral.random_password.openid_client_secret.result
71+
client_secret_wo_version = 1
7172
72-
access_type = "CONFIDENTIAL"
73-
valid_redirect_uris = [
74-
"http://localhost:8080/openid-callback"
75-
]
73+
access_type = "CONFIDENTIAL"
74+
standard_flow_enabled = true
75+
valid_redirect_uris = [
76+
"http://localhost:8080/openid-callback"
77+
]
7678
77-
login_theme = "keycloak"
79+
login_theme = "keycloak"
7880
79-
extra_config = {
80-
"key1" = "value1"
81-
"key2" = "value2"
82-
}
81+
extra_config = {
82+
"key1" = "value1"
83+
"key2" = "value2"
84+
}
8385
}
8486
```
8587

0 commit comments

Comments
 (0)