Skip to content

Commit e435f35

Browse files
Haaroleangitbook-bot
authored andcommitted
GITBOOK-40: Update Cognito' user name attribute param name
1 parent 3c9d088 commit e435f35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

configuration/authentication/oauth2.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ auth:
2525
authorization-grant-type: authorization_code
2626
issuer-uri: https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_xxx
2727
jwk-set-uri: https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_xxx/.well-known/jwks.json
28-
user-name-attribute: username
28+
user-name-attribute: cognito:username
2929
custom-params:
3030
type: cognito
3131
logoutUrl: https://<XXX>>.eu-central-1.amazoncognito.com/logout
@@ -111,4 +111,5 @@ auth:
111111
token-uri: http(s)://HOSTNAME/login/oauth/access_token
112112
user-info-uri: http(s)://HOSTNAME/api/v3/user
113113
```
114+
114115
Replace `HOSTNAME` by your self-hosted platform FQDN.

0 commit comments

Comments
 (0)