mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-06-28 01:23:30 +00:00
add microsoft authentication
This commit is contained in:
parent
4e957e93a2
commit
b142ac4928
2 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,7 @@ func main() {
|
||||||
provider = authz.NewAsgardeoProvider(cfg)
|
provider = authz.NewAsgardeoProvider(cfg)
|
||||||
fmt.Println("Using Asgardeo provider (demo).")
|
fmt.Println("Using Asgardeo provider (demo).")
|
||||||
} else {
|
} else {
|
||||||
log.Fatalf("Not suppoted yet.")
|
log.Fatalf("Not supported yet.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 3. (Optional) Fetch JWKS if you want local JWT validation
|
// 3. (Optional) Fetch JWKS if you want local JWT validation
|
||||||
|
|
|
@ -298,6 +298,10 @@ func buildAsgardeoPayload(regReq RegisterRequest) map[string]interface{} {
|
||||||
"idp": "GitHub",
|
"idp": "GitHub",
|
||||||
"authenticator": "GithubAuthenticator",
|
"authenticator": "GithubAuthenticator",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"idp": "Microsoft",
|
||||||
|
"authenticator": "OpenIDConnectAuthenticator",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue