Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 991
Haseeb Ahmad Avatar asked Feb 02 '20 17:02

Haseeb Ahmad


2 Answers

  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.

like image 161
RandomEngy Avatar answered Oct 03 '22 00:10

RandomEngy


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.

like image 37
M.z Avatar answered Oct 02 '22 23:10

M.z