Reputation: 4217
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?
Upvotes: 10
Views: 3779
Reputation: 1809
Update: Since 2020 Amplify allows you to use existing User Pools (yeah!). Just run:
amplify import auth
Upvotes: 5
Reputation: 1780
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.
Upvotes: 8