Skip to content

Commit

Permalink
Update supported scopes (#712)
Browse files Browse the repository at this point in the history
This aligns the scopes with the supported list provided via https://developer.okta.com/docs/guides/implement-oauth-for-okta/scopes/#scope-naming.
  • Loading branch information
boekkooi-lengoo authored Oct 14, 2021
1 parent 2506db2 commit faf33c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions okta/resource_okta_app_oauth_api_scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ import (
"github.com/okta/okta-sdk-golang/v2/okta"
)

# validScopes is a list of supported scopes as per https://developer.okta.com/docs/guides/implement-oauth-for-okta/scopes/.
var validScopes = []string{
"okta.apps.manage", "okta.apps.read",
"okta.authorizationServers.manage", "okta.authorizationServers.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",
Expand Down

0 comments on commit faf33c8

Please sign in to comment.