mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-06-27 17:13:31 +00:00
add --asgardeo
This commit is contained in:
parent
9f5fc69fb6
commit
06f0aeb461
3 changed files with 18 additions and 3 deletions
|
@ -13,6 +13,12 @@ type DemoConfig struct {
|
|||
OrgName string `yaml:"org_name"`
|
||||
}
|
||||
|
||||
type AsgardeoConfig struct {
|
||||
ClientID string `yaml:"client_id"`
|
||||
ClientSecret string `yaml:"client_secret"`
|
||||
OrgName string `yaml:"org_name"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
AuthServerBaseURL string `yaml:"auth_server_base_url"`
|
||||
MCPServerBaseURL string `yaml:"mcp_server_base_url"`
|
||||
|
@ -23,7 +29,8 @@ type Config struct {
|
|||
PathMapping map[string]string `yaml:"path_mapping"`
|
||||
|
||||
// Nested config for Asgardeo
|
||||
Demo DemoConfig `yaml:"demo"`
|
||||
Demo DemoConfig `yaml:"demo"`
|
||||
Asgardeo AsgardeoConfig `yaml:"asgardeo"`
|
||||
}
|
||||
|
||||
// LoadConfig reads a YAML config file into Config struct.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue