Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: okta_app_oauth add jwt-bearer to the valid grant types of native… #2248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dnychennnn
Copy link

@dnychennnn dnychennnn commented Mar 13, 2025

… app

During the import of remote native apps, we encountered the validation issue which reject the creation of urn:ietf:params:oauth:grant-type:jwt-bearer grant.

Error: failed to update OAuth application: failed conditional validation for field "grant_types" of type "native", it can contain authorization_code, implicit, refresh_token, password, urn:ietf:params:oauth:grant-type:saml2-bearer, urn:ietf:params:oauth:grant-type:token-exchange, urn:ietf:params:oauth:grant-type:device_code, interaction_code, urn:okta:params:oauth:grant-type:oob, urn:okta:params:oauth:grant-type:otp, http://auth0.com/oauth/grant-type/mfa-oob, http://auth0.com/oauth/grant-type/mfa-otp and must contain authorization_code, received urn:ietf:params:oauth:grant-type:jwt-bearer, authorization_code, refresh_token

Though it's not available on the tenant UI, it is a valid grant type according to https://developer.okta.com/docs/guides/authenticators-custom-authenticator/android/main/#maintenance-token-configuration-and-usage

@monde
Copy link
Collaborator

monde commented Mar 13, 2025

@dnychennnn I'll get this into the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants