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
demandé il y a 3 mois291 vues
2 réponses
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
répondu il y a 3 mois
profile picture
EXPERT
vérifié il y a un mois
  • 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
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions