Skip to content

Commit ed9a983

Browse files
fix: remove stale reference to closed PR #3851
The comment in oauth2/handler.go referenced a discussion on PR #3851 which was closed without merging. The same feature (RFC 8628 Device Authorization Grant) was later merged via PR #3912. The explanatory comment remains intact, only the dead link is removed. Closes #3953
1 parent 9dd9247 commit ed9a983

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oauth2/handler.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ func (h *Handler) performOAuth2DeviceVerificationFlow(w http.ResponseWriter, r *
758758
// - The device auth session is updated (user_code is marked as accepted)
759759
// - The OpenID session is created
760760
// If there were multiple flows created for the same user_code then we may end up with multiple flow objects
761-
// persisted to the database, while only one of them was actually used to validate the user_code
762-
// (see https://github.com/ory/hydra/pull/3851#discussion_r1843678761)
761+
// persisted to the database, while only one of them was actually used to validate the user_code.
763762
f, err := h.r.ConsentStrategy().HandleOAuth2DeviceAuthorizationRequest(ctx, w, r)
764763
if errors.Is(err, consent.ErrAbortOAuth2Request) {
765764
x.LogError(r, err, h.r.Logger())

0 commit comments

Comments
 (0)