<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language

How to Enable Interaction Code on Okta Identity Engine

API Access Management
Okta Identity Engine

Overview

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].

 

Applies To

  • OAuth/OpenID Connect
  • Self-Hosted or Okta Hosted Sign-in Widget
  • Okta Identity Engine (OIE)

Cause

The interaction code/authorization code is not enabled under Applications > Application > General Settings.

Solution

  1. 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.

Embedded widget sign-in support

  1. Enable Authorization Code in Applications > Application > General Settings.

Grant type settings

  1. 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.

Client acting on behalf of a user

Loading
How to Enable Interaction Code on Okta Identity Engine | Okta Support