소스 검색

GITBOOK-40: Update Cognito' user name attribute param name

Roman Zabaluev 2 년 전
부모
커밋
e435f350c9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      configuration/authentication/oauth2.md

+ 2 - 1
configuration/authentication/oauth2.md

@@ -25,7 +25,7 @@ auth:
         authorization-grant-type: authorization_code
         issuer-uri: https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_xxx
         jwk-set-uri: https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_xxx/.well-known/jwks.json
-        user-name-attribute: username
+        user-name-attribute: cognito:username
         custom-params:
           type: cognito
           logoutUrl: https://<XXX>>.eu-central-1.amazoncognito.com/logout
@@ -111,4 +111,5 @@ auth:
         token-uri: http(s)://HOSTNAME/login/oauth/access_token
         user-info-uri: http(s)://HOSTNAME/api/v3/user
 ```
+
 Replace `HOSTNAME` by your self-hosted platform FQDN.