OAuth should require PKCE for public clients #10951

Closed
opened 2025-11-02 09:23:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @hickford on GitHub (Jun 2, 2023).

Feature Description

Gitea supports PKCE but clients don't have to use it. OAuth best practice is to require PKCE for public clients https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-08.html#section-4.1.2.1

[Authorization server] MUST reject requests without a code_challenge from public clients

This would be a breaking change

Screenshots

No response

Originally created by @hickford on GitHub (Jun 2, 2023). ### Feature Description Gitea supports PKCE but clients don't have to use it. OAuth best practice is to require PKCE for public clients https://www.ietf.org/archive/id/draft-ietf-oauth-v2-1-08.html#section-4.1.2.1 > [Authorization server] MUST reject requests without a `code_challenge` from public clients This would be a breaking change ### Screenshots _No response_
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 09:23:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10951