Skip to content

Commit

Permalink
Add --remove-scope flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Oct 2, 2024
1 parent e3c3f20 commit 9cbb404
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 9cbb404

Please sign in to comment.