Added flag to forward ID token

This commit is contained in:
David Allen 2024-03-05 20:45:15 -07:00
parent cfba9e4bd0
commit 53de1ca726
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB

View file

@ -22,6 +22,7 @@ type Options struct {
FlowType string `yaml:"flow"` FlowType string `yaml:"flow"`
CachePath string `yaml:"cache"` CachePath string `yaml:"cache"`
LocalOnly bool `yaml:"local-only"` LocalOnly bool `yaml:"local-only"`
ForwardToken bool `yaml:"forward-token"`
} }
type RequestUrls struct { type RequestUrls struct {
@ -67,6 +68,7 @@ func NewConfig() Config {
CachePath: "opaal.db", CachePath: "opaal.db",
FlowType: "authorization_code", FlowType: "authorization_code",
LocalOnly: false, LocalOnly: false,
ForwardToken: false,
}, },
Authentication: Authentication{}, Authentication: Authentication{},
Authorization: Authorization{}, Authorization: Authorization{},