forked from TrueCloudLab/certificates
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"`
|
ClientID string `json:"clientID"`
|
||||||
ClientSecret string `json:"clientSecret"`
|
ClientSecret string `json:"clientSecret"`
|
||||||
ConfigurationEndpoint string `json:"configurationEndpoint"`
|
ConfigurationEndpoint string `json:"configurationEndpoint"`
|
||||||
Admins []string `json:"admins"`
|
Admins []string `json:"admins,omitempty"`
|
||||||
Domains []string `json:"domains"`
|
Domains []string `json:"domains,omitempty"`
|
||||||
Claims *Claims `json:"claims,omitempty"`
|
Claims *Claims `json:"claims,omitempty"`
|
||||||
configuration openIDConfiguration
|
configuration openIDConfiguration
|
||||||
keyStore *keyStore
|
keyStore *keyStore
|
||||||
|
|
Loading…
Reference in a new issue