diff --git a/server/server.go b/server/server.go index db74dee..c8f6c1c 100644 --- a/server/server.go +++ b/server/server.go @@ -220,6 +220,7 @@ func NewHttpServer(conf Conf, db *database.DB, signingKey mjwt.Signer) *http.Ser } if claims["username"] { m["preferred_username"] = info.UserInfo["preferred_username"] + m["login"] = info.UserInfo["login"] } if claims["profile"] { m["profile"] = info.UserInfo["profile"]