Submitting a POST request for /oauth2/${authorizationServerId}/v1/interact or /oauth2/v1/interact from an app or Postman results the following error:
The client is not authorized to use the provided grant type. Configured grant types: [authorization_code].
- OAuth/OpenID Connect
- Self-Hosted or Okta Hosted Sign-in Widget
- Okta Identity Engine (OIE)
The interaction code/authorization code is not enabled under Applications > Application > General Settings.
- First, ensure that Interaction Code is enabled for the org under Settings > Account > Embedded widget sign-in support. Once this is enabled, the Interaction Code option for the App and Authorization Server should be available.
- Enable Authorization Code in Applications > Application > General Settings.
- If using a custom authorization server, such as the one named "Default", enable Authorization Code in Security > API > Authorization Server > Access Policies > edit rule for Access policy.
