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

oauth okta.networkZones support #1493

Closed
cvirtucio opened this issue Mar 17, 2023 · 4 comments
Closed

oauth okta.networkZones support #1493

cvirtucio opened this issue Mar 17, 2023 · 4 comments
Labels
enhancement Asking for new behavior or feature

Comments

@cvirtucio
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

The provider's list of valid scopes currently does not support the okta.networkZones.* scopes, listed here. This results in an error whenever we try to add it in:

Error: expected value to be one of 'okta.apps.manage', 'okta.apps.read', 'okta.authorizationServers.manage', 'okta.authorizationServers.read', 'okta.authenticators.manage', 'okta.authenticators.read', 'okta.brands.manage', 'okta.brands.read', 'okta.captchas.manage', 'okta.captchas.read', 'okta.clients.manage', 'okta.clients.read', 'okta.clients.register', 'okta.devices.manage', 'okta.devices.read', 'okta.domains.manage', 'okta.domains.read', 'okta.eventHooks.manage', 'okta.eventHooks.read', 'okta.events.read', 'okta.factors.manage', 'okta.factors.read', 'okta.groups.manage', 'okta.groups.read', 'okta.idps.manage', 'okta.idps.read', 'okta.inlineHooks.manage', 'okta.inlineHooks.read', 'okta.linkedObjects.manage', 'okta.linkedObjects.read', 'okta.logs.read', 'okta.policies.manage', 'okta.policies.read', 'okta.profileMappings.manage', 'okta.profileMappings.read', 'okta.roles.manage', 'okta.roles.read', 'okta.schemas.manage', 'okta.schemas.read', 'okta.sessions.manage', 'okta.sessions.read', 'okta.templates.manage', 'okta.templates.read', 'okta.trustedOrigins.manage', 'okta.trustedOrigins.read', 'okta.users.manage', 'okta.users.read', 'okta.users.manage.self', 'okta.users.read.self', 'okta.userTypes.manage', 'okta.userTypes.read', got 'okta.networkZones.manage'

New or Affected Resource(s)

  • okta_app_oauth

Potential Terraform Configuration

resource "okta_app_oauth_api_scope" "terraform_identity_service_client" {
  scopes = ["okta.networkZones.manage"]
}

References

  • #0000
@cvirtucio cvirtucio added the enhancement Asking for new behavior or feature label Mar 17, 2023
@awagneratzendesk
Copy link
Contributor

Would probably be good to do a run through of all the Oauth Scopes now available in https://developer.okta.com/docs/api/oauth2/ and sync the provider to that list?

@awagneratzendesk
Copy link
Contributor

I'm going to PR this shortly after I do some local testing

@monde
Copy link
Collaborator

monde commented Mar 21, 2023

I will be taking @awagneratzendesk's PR #1494

@monde
Copy link
Collaborator

monde commented Mar 21, 2023

This will be fixed in the next release from #1494

@monde monde closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Asking for new behavior or feature
Projects
None yet
Development

No branches or pull requests

3 participants