Set omitempty to admins and domains.
This commit is contained in:
parent
6592c4784b
commit
5d5f03f963
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ type OIDC struct {
|
|||
ClientID string `json:"clientID"`
|
||||
ClientSecret string `json:"clientSecret"`
|
||||
ConfigurationEndpoint string `json:"configurationEndpoint"`
|
||||
Admins []string `json:"admins"`
|
||||
Domains []string `json:"domains"`
|
||||
Admins []string `json:"admins,omitempty"`
|
||||
Domains []string `json:"domains,omitempty"`
|
||||
Claims *Claims `json:"claims,omitempty"`
|
||||
configuration openIDConfiguration
|
||||
keyStore *keyStore
|
||||
|
|
Loading…
Reference in a new issue