2

I have AWS Amplify within a project that uses Auth only. I want to transfer the Auth configuration settings to a new project. Can we just copy aws-exports to the new project or do we need to do anything else?

Basically the goal is to share the same user pool between two different projects such that both projects authenticate against the same user pool.

Ole
  • 41,793
  • 59
  • 191
  • 359

2 Answers2

2

It should work by just copy-pasting the project files. However, it's a good idea to create a new app client and configure it for the new project. Later if you want to track requests from these applications separately, this is necessary. While hosting you might need 2 different hostings for these two projects. Then also this will come handy for you.

Robin Varghese
  • 1,158
  • 10
  • 22
1

For future readers, the Amplify docs now have an example of how to go about doing this see here.

I have a similar need -- sharing auth across different applications.

Samuel Mburu
  • 196
  • 1
  • 4