Skip to content
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

add AuthParams to OIDC struct #1802

Merged
merged 5 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
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 / 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)

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)
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 / 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)

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)
Claims: claims,
Options: options,
}, nil
Expand Down Expand Up @@ -1066,6 +1068,8 @@
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 / 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

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
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 / 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

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
},
},
},
Expand Down
Loading