Added flow initialization and completed implementation

This commit is contained in:
David Allen 2024-02-26 09:20:07 -07:00
parent a3f0caf4ff
commit 1de4d3a5d5
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB
6 changed files with 262 additions and 41 deletions

View file

@ -6,8 +6,10 @@ type ActionUrls struct {
AccessToken string `yaml:"access-token"`
ServerConfig string `yaml:"server-config"`
JwksUri string `yaml:"jwks_uri"`
Login string `yaml:"login"`
LoginFlowId string `yaml:"login-flow-id"`
}
func hasRequiredParams(config *Config) bool {
func HasRequiredParams(config *Config) bool {
return config.Client.Id != "" && config.Client.Secret != ""
}