OpenId Connect Plugin - AWS Cognito - Error: invalid_client at a.onload

Hi everybody,

I get an error after I sign in using the OpenID Connect plugin in Weweb:

name: "Error"
stack: "Error: invalid_client at a.onload (https://cdn.weweb.io/components/01af5352-af71-4382-844b-2ec141ff243b/83be2748-aa22-4d69-9812-1cefc8f2c1aa/dist/manager.js:1:19380)"
message: "invalid_client"

Let me give you some context. I am using a AWS Cognito’s pool to manage my user auth. I have done some checks using https://openidconnect.net/ and it seems that it worked. The client configuration in Cognito has also the callbacks in place, actually without them, you get another error when clicking the login button, which I would say that it is similar to what’s described here.

I have configured the plugin in Weweb:

I have tried both options: login with popup/redirect, and in both cases I get a similar result, but I can only see the error in the popup option because with the redirect, the whole editor gets relaunched.

After Introducing the user/password and get redirected from
https://editor.weweb.io/62cc2481-0506-49db-90ee-b6f4d7e710ca/65500515-afed-4e67-9c18-353ee35dd062 to https://editor.weweb.io/<prj>/<page-1>?code=<code>&state=<state> :

I get the following error:

Does it ring any bell about what I may be doing wrong?

Thanks,

Manuel