awslabs / aws-amplify-identity-broker

A centralized login and SSO application to authenticate several websites and mobile apps.
MIT License
205 stars 65 forks source link

Using existing cognito user pool #225

Open srizzling opened 2 years ago

srizzling commented 2 years ago

Is there a way to deploy this application to an existing user pool?

dishanrajapaksha-w commented 2 years ago

Hello @srizzling Did you find a solution for this? I'm interested in using an existing pool as well.

srizzling commented 2 years ago

Hey @dish-codification - We didn't end up implementing this (not enough resources to support this in prod + shared responsibility model) - but our investigation led to us having to fork this project - and rebuild this template: https://github.com/awslabs/aws-amplify-identity-broker/blob/master/amplify/backend/auth/amplifyIdentityBrokerAuth/amplifyIdentityBrokerAuth-cloudformation-template.yml to allow us to us the existing pool anyway.

We were always going to rebuild this - since our infra is defined in CDK not via amplify+cfn

srizzling commented 2 years ago

you can set the env to be none - and it won't recreate the cognito user pool