From 96dbac5274b4f8dc0740819cc1ce81cee8600190 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Thu, 15 Feb 2024 13:00:27 +0000 Subject: [PATCH] Remove id_token comment --- server/server.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/server.go b/server/server.go index 7142c88..1dd23cf 100644 --- a/server/server.go +++ b/server/server.go @@ -167,8 +167,6 @@ func NewHttpServer(conf Conf, db *database.DB, signingKey mjwt.Signer) *http.Ser r.GET("/authorize", hs.RequireAuthentication(hs.authorizeEndpoint)) r.POST("/authorize", hs.RequireAuthentication(hs.authorizeEndpoint)) r.POST("/token", func(rw http.ResponseWriter, req *http.Request, params httprouter.Params) { - // TODO: id_token support - // https://code.mrmelon54.com/melon/summer/src/commit/7b8afa8b91c39eba749f60a45965fd8f75c87147/pkg/oauth-server/server.go#L216 if err := oauthSrv.HandleTokenRequest(rw, req); err != nil { http.Error(rw, err.Error(), http.StatusInternalServerError) }