Can Cognito custom developer authenticated identities flow work with native apple login tokens instead of web apple login tokens?

0

In the documentation, it's mentioned that Amazon Cognito supports developer authenticated identities work in addition to web identity federation. I just want to know if this will also work with the native identity federation.

1개 답변
1

Thank you for reaching out us regarding the above query. I would like to share that, Cognito does support developer authenticated identities flow work with native apple login tokens. In order to achieve the same, you can use Apple’s Authentication Services to launch a native Sign In With Apple flow, and federating into Cognito Identity Pools. You can utilise the below approaches to achieve your use case :

  1. Amplify, via the escape hatch
  2. SDK

The approach is such that, Cognito Identity Pools supports Sign In with Apple (SIWA) as an Identity Provider, meaning you can federate into your Identity Pool by using the native Sign In With Apple flow to obtain an ASAuthorizationAppleIDCredential identity token that you pass to Cognito. If the token is valid, Cognito will issue the client library AWS credentials that your app can use to access AWS resources. Please refer to the Github issue comment for more detailed explanation on this. Having said that, in case you face further challenges, please feel free to open a support case with AWS using the following link.

AWS
지원 엔지니어
답변함 일 년 전

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

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

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