Skip to content

Commit 8065bb8

Browse files
authored
Scopes must be space-separated list
If you try to use commas as indicated in the documentation, you get an error similar to the following: kubebuilder/controller "msg"="Reconciler error" "error"="failed to reconcile listeners due to failed to reconcile listener due to InvalidLoadBalancerAction: A scope cannot contain a comma. Separate multiple scopes using spaces\n\tstatus code: 400, request id: faaec23d-4bed-11e9-a3d9-25197b2b13db"
1 parent 5f4af35 commit 8065bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guide/ingress/annotation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ALB supports authentication with Cognito or OIDC. See [Authenticate Users Using
219219
alb.ingress.kubernetes.io/auth-on-unauthenticated-request: authenticate
220220
```
221221

222-
- <a name="auth-scope">`alb.ingress.kubernetes.io/auth-scope`</a> specifies the set of user claims to be requested from the IDP(cognito or oidc).
222+
- <a name="auth-scope">`alb.ingress.kubernetes.io/auth-scope`</a> specifies the set of user claims to be requested from the IDP(cognito or oidc), in a space-separated list.
223223

224224
!!!info "options:"
225225
* **phone**
@@ -230,7 +230,7 @@ ALB supports authentication with Cognito or OIDC. See [Authenticate Users Using
230230

231231
!!!example
232232
```
233-
alb.ingress.kubernetes.io/auth-scope: email,openid
233+
alb.ingress.kubernetes.io/auth-scope: 'email openid'
234234
```
235235

236236
- <a name="auth-session-cookie">`alb.ingress.kubernetes.io/auth-session-cookie`</a> specifies the name of the cookie used to maintain session information

0 commit comments

Comments
 (0)