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
preguntada hace 3 meses289 visualizaciones
2 Respuestas
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
respondido hace 3 meses
profile picture
EXPERTO
revisado hace un mes
  • 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
respondido hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas