Skip to content

Commit

Permalink
Merge pull request #94 from auth0/reduce-scopes
Browse files Browse the repository at this point in the history
Reduce-scopes
  • Loading branch information
cyx authored Feb 19, 2021
2 parents 83c3010 + 9a9d1cf commit 7961ab0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,9 @@ var requiredScopes = []string{
"openid",
"create:actions", "delete:actions", "read:actions", "update:actions",
"create:clients", "delete:clients", "read:clients", "update:clients",
"create:connections", "delete:connections", "read:connections", "update:connections",
"create:hooks", "delete:hooks", "read:hooks", "update:hooks",
"create:resource_servers", "delete:resource_servers", "read:resource_servers", "update:resource_servers",
"create:rules", "delete:rules", "read:rules", "update:rules",
"read:client_keys", "read:logs",
"create:roles", "delete:roles", "read:roles", "update:roles",
"create:custom_domains", "delete:custom_domains", "read:custom_domains", "update:custom_domains",
"read:users",
}

type Authenticator struct {
Expand Down
2 changes: 0 additions & 2 deletions internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ func TestRequiredScopes(t *testing.T) {
crudResources := []string{
"actions",
"clients",
"connections",
"hooks",
"resource_servers",
"rules",
}
Expand Down

0 comments on commit 7961ab0

Please sign in to comment.