mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
Introduce support for OIDC workload identity federation (#3711)
* feat(oidc): introduce support for OIDC workload identity federation Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> * feat(oidc): add e2e test for bearer OIDC and a kind cluster Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> * feat(oidc): make OIDC workload identity federation its own feature Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> * feat(oidc): move errors to the errors package Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> * feat(oidc): fix race in cel package Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> * feat(oidc): compile cel expressions Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com> --------- Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
+2
-2
@@ -65,8 +65,8 @@ type BearerAuthorizer struct {
|
||||
key crypto.PublicKey
|
||||
}
|
||||
|
||||
func NewBearerAuthorizer(realm string, service string, key crypto.PublicKey) BearerAuthorizer {
|
||||
return BearerAuthorizer{
|
||||
func NewBearerAuthorizer(realm string, service string, key crypto.PublicKey) *BearerAuthorizer {
|
||||
return &BearerAuthorizer{
|
||||
realm: realm,
|
||||
service: service,
|
||||
key: key,
|
||||
|
||||
Reference in New Issue
Block a user