Skip to content

AWS Cognito User Pool: How to map long attributes (>2048 characters) from OIDC Identity provider?

0

I am trying to map the apple ID token to a custom attribute, but the ID token is longer than 2048 characters. And there seems to be no workaround for retrieving the apple user profile without the ID token. Thanks!

asked 2 years ago681 views
1 Answer
0

Hi,

Hope you are doing well!

Currently Amazon Cognito doesn't support mapping IdP tokens to custom attributes when the tokens are more than 2,048 characters long. Each mapped user pool attribute must have a maximum value length of 2,048 characters to accommodate the value obtained from the IdP by Amazon Cognito.

Specifying identity provider attribute mappings for your user pool-https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-specifying-attribute-mapping.html

AWS releases any new features or modifications to AWS services; keep a watch on the sites below for any feature release

AWS Announcements - https://aws.amazon.com/blogs/aws/category/post-types/announcements/ What's New - https://aws.amazon.com/about-aws/whats-new/security_identity_and_compliance/

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.