Skip to content

Commit

Permalink
Merge pull request #1287 from smallstep/herman/remove-scope-flag
Browse files Browse the repository at this point in the history
Add `--remove-scope` flag
  • Loading branch information
hslatman authored Oct 2, 2024
2 parents d8ddcb6 + 9cbb404 commit e19cb50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions command/ca/provisioner/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,11 @@ Use the '--group' flag multiple times to configure multiple groups.`,
Name: "scope",
Usage: `The <scope> list used to validate the scopes extension in an OpenID Connect token.
Use the '--scope' flag multiple times to configure multiple scopes.`,
}
oidcRemoveScopeFlag = cli.StringSliceFlag{
Name: "remove-scope",
Usage: `Remove the <scope> used to validate the scopes extension in an OpenID Connect token.
Use the '--remove-scope' flag multiple times to remove multiple scopes.`,
}
oidcAuthParamFlag = cli.StringSliceFlag{
Name: "auth-param",
Expand Down
1 change: 1 addition & 0 deletions command/ca/provisioner/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ SCEP
oidcGroupFlag,
oidcTenantIDFlag,
oidcScopeFlag,
oidcRemoveScopeFlag,
oidcAuthParamFlag,

// X5C Root Flag
Expand Down

0 comments on commit e19cb50

Please sign in to comment.