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 個月前檢視次數 291 次
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
專家
已審閱 1 個月前
  • 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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南