Haseeb Ahmad
Haseeb Ahmad

Reputation: 8730

Use a clientId without a client secret

In AppSync when I try to Login via Cognito User Pools and enters ClientID it gives an error Use a clientId without a client secret.

I am entering only ClientID but it not proceeding

enter image description here

Upvotes: 5

Views: 9177

Answers (2)

RandomEngy
RandomEngy

Reputation: 15413

  1. Go to your user pool in the console.
  2. Go to General Settings -> App Clients (NOT App Integration -> App client settings)
  3. Click on "Show details" under each one.
  4. Look at the "App client secret" field.

In my case Amplify had created two app clients for me, one with _app_client at the end, which had a client secret. One with _app_clientWeb at the end which had no client secret. They appeared to be otherwise identical. You want to select the App Client id from the one without the secret, or create a new app client that has no secret.

Upvotes: 8

M.z
M.z

Reputation: 51

I had the same issue, it seems that AppSync doesnt allow using a user pool that has a client secret, so i created new user pool and I unchecked the generate client secret option while creating the App Client. Now it is working well.

Upvotes: 3

Related Questions