You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v16.5.0
Amplify CLI Version
v5.3.0
What operating system are you using?
Mac
Amplify Categories
auth
Amplify Commands
Not applicable
Describe the bug
When running amplify import auth and choosing the same client to import for Web and Native, the CLI prompts it is recommended to use different app clients... do you want to change this?. If we choose yes to change our selections it the CLI will continuously prompt us for Web and Native client choices until we select the same clients for both again.
Expected behavior
We are allowed to select different app clients after choosing to change selections
Reproduction steps
amplify import auth
Choose either Cognito User Pool only or with Identity Pool
Select an existing resource
Select the same app client for both Web & Native
Select "y" electing to change app client choices
Attempt to select different app clients for both Web & Native
Observe continuous prompts
> amplify import auth
Using service: Cognito, provided by: awscloudformation
✔ What type of auth resource do you want to import? · Cognito User Pool only
✔ Select the User Pool you want to import: · us-east-1_BCimL25rm
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClientWeb
? It is recommended to use different app clients for web and native application, You have chosen the same app client for both. Do you want to change this? Yes
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClientWeb
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
The User Pool has multiple Web app clients configured.
✔ Select a Web client to import: · myAppClient
The User Pool has multiple Native app clients configured.
✔ Select a Native client to import: · myAppClient
? It is recommended to use different app clients for web and native application, You have chosen the same app client for both. Do you want to change this? No
✅ Cognito User Pool 'socialsignin392b6b4f_userpool_392b6b4f-staging' was successfully imported.
GraphQL schema(s)
# Put schemas below this line
Log output
# Put your logs below this line
Additional information
This occurred regardless of auth type chosen and resource configuration
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
v16.5.0
Amplify CLI Version
v5.3.0
What operating system are you using?
Mac
Amplify Categories
auth
Amplify Commands
Not applicable
Describe the bug
When running
amplify import auth
and choosing the same client to import for Web and Native, the CLI promptsit is recommended to use different app clients... do you want to change this?
. If we chooseyes
to change our selections it the CLI will continuously prompt us for Web and Native client choices until we select the same clients for both again.Expected behavior
We are allowed to select different app clients after choosing to change selections
Reproduction steps
amplify import auth
GraphQL schema(s)
# Put schemas below this line
Log output
Additional information
This occurred regardless of auth type chosen and resource configuration
The text was updated successfully, but these errors were encountered: