13 lines
395 B
Go
13 lines
395 B
Go
package controllers
|
|
|
|
import (
|
|
"git.secnex.io/secnex/masterlog"
|
|
"git.secnex.io/secnex/oauth2-api/utils"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func UserinfoController(c *fiber.Ctx) error {
|
|
masterlog.Debug("Userinfo request received", map[string]interface{}{"path": c.Path()})
|
|
return utils.NewHTTPResponse(fiber.StatusOK, &fiber.Map{"message": "Userinfo request received"}, "", nil, nil).Send(c)
|
|
}
|