🚚 Update well known

This commit is contained in:
2024-04-21 17:27:05 +08:00
parent c25a1f5c82
commit 5bde44647b
2 changed files with 5 additions and 11 deletions

View File

@ -21,7 +21,7 @@ func getOidcConfiguration(c *fiber.Ctx) error {
return c.JSON(fiber.Map{
"issuer": basepath,
"authorization_endpoint": fmt.Sprintf("%s/auth/o/connect", basepath),
"authorization_endpoint": fmt.Sprintf("%s/authorize", basepath),
"token_endpoint": fmt.Sprintf("%s/api/auth/token", basepath),
"userinfo_endpoint": fmt.Sprintf("%s/api/users/me", basepath),
"response_types_supported": []string{"code", "token"},