简体   繁体   English

可以在 EB 上的 Node/Express/React 应用程序中使用 AWS Cognito 吗?

[英]Can AWS Cognito be used in a Node/Express/React app on EB?

I have a Node/Express server serving a React app all on a single Elastic Beanstalk environment.我有一个 Node/Express 服务器,在单个 Elastic Beanstalk 环境中为 React 应用程序提供服务。 Is it possible to use AWS Cognito with this stack?是否可以将 AWS Cognito 与此堆栈一起使用? Can the Cognito React component library be used without having an Amplify project, or do you have to do a bunch of custom stuff to communicate with the Cognito API?是否可以在没有 Amplify 项目的情况下使用 Cognito React 组件库,或者您是否必须做一堆自定义的东西才能与 Cognito API 通信? Any advice is appreciated.任何建议表示赞赏。

Yes, you can, because Cognito is publicly available.是的,您可以,因为 Cognito 是公开可用的。 Also, AWS SDK provides components to do with Cognito too.此外,AWS SDK 也提供了与 Cognito 相关的组件。 Amplify works on top of AWS SDK Amplify 在 AWS 开发工具包之上工作

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

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