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
[wip] added option to handle OAuth grants at a per-client granularity #7739
Conversation
@@ -40,6 +40,7 @@ type Client interface { | |||
GetSecret() string | |||
GetRedirectUri() string | |||
GetUserData() interface{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pretty sure this was made to match the osin client interface... we'll likely need to include the grant strategy in the "user data"... that's our bucket to plumb whatever data we want through all the osin apis
d6cfdea
to
820c55f
Compare
@liggitt addressed comments |
8593c59
to
046f655
Compare
@liggitt @smarterclayton how has running
|
Do we not support one |
c06414e
to
b6502c6
Compare
@@ -6684,8 +6588,6 @@ func init() { | |||
autoConvert_api_OAuthAuthorizeToken_To_v1beta3_OAuthAuthorizeToken, | |||
autoConvert_api_OAuthClientAuthorizationList_To_v1beta3_OAuthClientAuthorizationList, | |||
autoConvert_api_OAuthClientAuthorization_To_v1beta3_OAuthClientAuthorization, | |||
autoConvert_api_OAuthClientList_To_v1beta3_OAuthClientList, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liggitt do we want custom conversion funcs for these?
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
b6502c6
to
575c0a3
Compare
575c0a3
to
1e742a7
Compare
@liggitt time to revive this:
|
I think the grants themselves are persisted. This is about helping us give some client "special" powers when the cluster-admin believes they are used as part of the infrastructure. |
closing in favor of #9616 |
@liggitt PTAL
How do we test this?