Set omitempty to admins and domains.

This commit is contained in:
Mariano Cano 2019-03-19 11:23:18 -07:00
parent 6592c4784b
commit 5d5f03f963

View file

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