Invalid Credentials Error When Changing from Confidential to Public

Hi there,

So in our app, the initial client was set as public. So everything is working fine. But we connected the keycloak to our api and we had some errors there that set the client’s access type to confidential.

It causes a CORS error because of invalid credentials. What I did is I manually changed back the client’s access type to public. But the Invalid Credentials persist. (I assume since the access type is public, client_secret is no longer needed.)

The user that I am using has three clients, the other two is working just fine, except the client I mentioned above.

Do you have any idea what else I can do to fix this?
(Our current fix is to redeploy everything, therefore changing back the clients to its initial configuration. However, I want to understand the problem)