Skip to content

Commit

Permalink
Merge pull request #1802 from jdoupe/AuthParams
Browse files Browse the repository at this point in the history
add AuthParams to OIDC struct
  • Loading branch information
maraino authored Jun 12, 2024
2 parents 8b36f7b + a017c0e commit 634ece4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions authority/provisioner/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ type OIDC struct {
ListenAddress string `json:"listenAddress,omitempty"`
Claims *Claims `json:"claims,omitempty"`
Options *Options `json:"options,omitempty"`
Scopes []string `json:"scopes,omitempty"`
AuthParams []string `json:"authParams,omitempty"`
configuration openIDConfiguration
keyStore *keyStore
ctl *Controller
Expand Down
4 changes: 4 additions & 0 deletions authority/provisioners.go
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,8 @@ func ProvisionerToCertificates(p *linkedca.Provisioner) (provisioner.Interface,
Domains: cfg.Domains,
Groups: cfg.Groups,
ListenAddress: cfg.ListenAddress,
Scopes: cfg.Scopes,

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / govulncheck / govulncheck

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (stable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)

Check failure on line 921 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (oldstable)

cfg.Scopes undefined (type *linkedca.OIDCProvisioner has no field or method Scopes)
AuthParams: cfg.AuthParams,

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / govulncheck / govulncheck

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (stable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)

Check failure on line 922 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (oldstable)

cfg.AuthParams undefined (type *linkedca.OIDCProvisioner has no field or method AuthParams)
Claims: claims,
Options: options,
}, nil
Expand Down Expand Up @@ -1066,6 +1068,8 @@ func ProvisionerToLinkedca(p provisioner.Interface) (*linkedca.Provisioner, erro
Groups: p.Groups,
ListenAddress: p.ListenAddress,
TenantId: p.TenantID,
Scopes: p.Scopes,

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / govulncheck / govulncheck

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (stable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1071 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (oldstable)

unknown field Scopes in struct literal of type linkedca.OIDCProvisioner
AuthParams: p.AuthParams,

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / govulncheck / govulncheck

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner) (typecheck)

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / lint / lint

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner) (typecheck)

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (stable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / test / test (oldstable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (stable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner

Check failure on line 1072 in authority/provisioners.go

View workflow job for this annotation

GitHub Actions / ci / build / build (oldstable)

unknown field AuthParams in struct literal of type linkedca.OIDCProvisioner
},
},
},
Expand Down

0 comments on commit 634ece4

Please sign in to comment.