Made it possible to override certain example IDP endpoints

This commit is contained in:
David J. Allen 2024-04-29 18:45:30 -06:00
parent f10a771db6
commit 73e4e50d44
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
4 changed files with 57 additions and 18 deletions

View file

@ -18,16 +18,17 @@ import (
type Server struct {
*http.Server
Host string `yaml:"host"`
Port int `yaml:"port"`
Callback string `yaml:"callback"`
State string `yaml:"state"`
Issuer Issuer `yaml:"issuer"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Callback string `yaml:"callback"`
State string `yaml:"state"`
Issuer IdentityProviderServer `yaml:"issuer"`
}
type Issuer struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
type IdentityProviderServer struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Endpoints oidc.Endpoints `yaml:"endpoints"`
}
type ServerParams struct {