简体   繁体   English

用户注册后,从 laravel 将用户数据从 amazon cognito 同步到我的 mysql 数据库

[英]Sync user data from amazon cognito to my mysql database from laravel after user is registered

I need to use AWS Cognito user authentication service with my React-Native app and also store user data through my mysql database from my laravel backend..我需要在我的 React-Native 应用程序中使用 AWS Cognito 用户身份验证服务,还需要通过我的 laravel 后端的 mysql 数据库存储用户数据。

is there a way after user is registered in aws cognito, to send all its data to my mysql database and store it in my users table?用户在 aws cognito 中注册后,有没有办法将其所有数据发送到我的 mysql 数据库并将其存储在我的用户表中? like the email, name, cellphone比如email,姓名,手机

so after I can be able to use my 'mysql' database to makes queries inside my app..所以在我可以使用我的“mysql”数据库在我的应用程序中进行查询之后......

Thanks in advance..提前致谢..

You can use Cognito Trigger for it, for example例如,您可以为此使用 Cognito Trigger

Documentation 文档

Example 例子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM