feat: add jwks uri (#126)

This commit is contained in:
Jordan Labrosse
2023-08-10 07:49:28 +02:00
committed by GitHub
parent 5f7526bbaf
commit d5caace0e3
3 changed files with 14 additions and 0 deletions

View File

@ -116,6 +116,12 @@ type OAuth2ClientSpec struct {
//
// Metadata is abritrary data
Metadata apiextensionsv1.JSON `json:"metadata,omitempty"`
// +kubebuilder:validation:type=string
// +kubebuilder:validation:Pattern=`(^$|^https?://.*)`
//
// JwksUri Define the URL where the JSON Web Key Set should be fetched from when performing the private_key_jwt client authentication method.
JwksUri string `json:"jwksUri,omitempty"`
}
// +kubebuilder:validation:Enum=client_credentials;authorization_code;implicit;refresh_token