Can Cognito's attribute mapping extract values from object claims?

0

I'd like to add a 3rd party OIDC idp to my Cognito User Pool.

The id provider has an UserInfo endpoint that returns UserInfo responses. The response may contain some object members as UserInfo claims.

For example, a UserInfo response can look like below.

{
    "sub": 987654321
    "kakao_account": {
        "profile": {
            "nickname": "..."
        },
        "email": "..."
    }
}

I have no idea that Cognito Attribute Mapping can extract properties inside an object member.

For example, can I extract the value of $.kakao_account.profile.nickname and map it to the Cognito's Nickname attribute? I hopefully used JSONPaths to designate the location for values to extract, but it could not help.

Is there a possible way to meet my requirements?


Related to: https://forums.aws.amazon.com/thread.jspa?messageID=976533&#976533

질문됨 2년 전114회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠