From 44dd0934129a83240b4e9ec810a8b6d241c9e67c Mon Sep 17 00:00:00 2001 From: Romain Caire Date: Mon, 27 Nov 2023 22:28:11 +0100 Subject: [PATCH] Fix route spec --- oauth2/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oauth2/handler.go b/oauth2/handler.go index d24d3b82045..ae7d0035204 100644 --- a/oauth2/handler.go +++ b/oauth2/handler.go @@ -283,7 +283,7 @@ type deviceAuthorization struct { Interval int `json:"interval"` } -// swagger:route GET /oauth2/device/auth v0alpha2 performOAuth2DeviceFlow +// swagger:route POST /oauth2/device/auth v0alpha2 performOAuth2DeviceFlow // // # The OAuth 2.0 Device Authorize Endpoint //