Describe the bug
Using amplify hosted UI I get an 'invalid_client' error from cognito when trying to login using a SAML provider.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful login
I get an invalid_client error which suggests, from experience/docs, that the clientId is mismatched with that configured in cognito.
Smartphone (please complete the following information):
Additional context
Using token as the response type works, but then i don't get a refresh token.
Turns out this was a problem because the user pool pp client had been created (in terraform) using a client secret. Changing this to false fixed the issue. Could this be made clearer in the docs?
Because I looked for it for a while!
In your Cognito User Pool:

Most helpful comment
Turns out this was a problem because the user pool pp client had been created (in terraform) using a client secret. Changing this to false fixed the issue. Could this be made clearer in the docs?