使用Amplify将现有的AWS Cognito用户池集成到iOS项目中 [英] Integrate existing AWS Cognito user pool into iOS project with Amplify

查看:70
本文介绍了使用Amplify将现有的AWS Cognito用户池集成到iOS项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试使用 AWS Cognito 添加到我的iOS应用程序中://aws-amplify.github.io"rel =" noreferrer> AWS放大.文档建议在CLI上使用 amplify add auth ,但这似乎不适用于现有的 User Pool (即,您必须创建一个新的).是否可以使用现有的 User Pool 将AWS Cognito集成到我的iOS(Swift)项目中?

I am trying to add AWS Cognito to my iOS application using AWS Amplify. The docs suggest to use amplify add auth on the CLI, but this does not seem to work with an existing User Pool (i.e. you have to create a new one). Is it possible to integrate AWS Cognito into my iOS (Swift) project using an existing User Pool?

推荐答案

Amplify CLI目前不支持现有资源,但是您可以手动编辑 awsconfiguration.json 以包括用于以下内容的用户池已经以此处概述的形式出现.

Amplify CLI doesn't support existing resources at the moment but you can manually edit your awsconfiguration.json to include the User Pool that is already present as outlined here.

这篇关于使用Amplify将现有的AWS Cognito用户池集成到iOS项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆