# Okta: invalid_client

For an OIDC connection, Okta did not accept the client that OhAuthCat presented: the client ID is unknown in this Okta org, the app integration is inactive, or the client secret is wrong.

## What to change

- **IT admin:** copy the client ID and client secret again from the app integration's _General_ tab and paste them into the setup portal.
- **IT admin:** check that the app integration is active and that the issuer URL entered in the portal is for the same Okta org (or custom authorization server).
- **IT admin:** run a test sign-in from the portal after saving.

## Related OhAuthCat error

- [`oidc_token_exchange_failed`](/errors/oidc_token_exchange_failed/)
- [`oidc_discovery_unreachable`](/errors/oidc_discovery_unreachable/), if the issuer URL is wrong

## Source

Written in our own words from the public Okta documentation: [https://developer.okta.com/docs/reference/error-codes/](https://developer.okta.com/docs/reference/error-codes/). Check it for the vendor's current wording; vendors change their pages without notice.
