Login with Amazon in react native app

0

Hello AWS Team, We need to add Login with Amazon functionality to our application developed with React Native. Do you have a ready example of a React Native application that we can use for this purpose? If so, could you share an example that works on platforms like GitLab, GitHub, etc. with us?

Boss IT
질문됨 3달 전290회 조회
2개 답변
0

Using Amazon Cognito you can leverage several auth providers, including Amazon as a User Pool.

Here you can find a pattern for building a serverless React Native mobile app by using AWS Amplify that you can use as reference.

profile pictureAWS
답변함 3달 전
profile picture
전문가
검토됨 한 달 전
  • Hello Ibrahim, Thank you for quick response. I completed the coding by following the instructions in this link: https://docs.amplify.aws/react-native/prev/build-a-backend/auth/add-social-provider/ before. However, when I click on the login with amazon button on mobile, after being redirected to the browser, when I log in by entering the amazon user e-mail and password, I do not receive an error, I am redirected to the mobile screen again. A jwt token needs to appear in this section. According to this document, how can I get the jwt token?

0

Thank you for quick response.

Boss IT
답변함 3달 전

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

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

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

관련 콘텐츠