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"`
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