vamsii777 / vapor-oauth

OAuth2 Provider Library for Vapor
MIT License
3 stars 2 forks source link

Enhanced PKCE Validation in OAuth 2.0 Authorization Code Flow #6

Closed vamsii777 closed 10 months ago

vamsii777 commented 10 months ago

In response to an issue raised by @mynona, I have implemented significant improvements to the PKCE (Proof Key for Code Exchange) validation within the OAuth 2.0 authorization code flow in the Vapor OAuth library. This update aligns our implementation more closely with OAuth 2.0 standards, particularly in the handling of PKCE for public client scenarios.

Changes

Rationale

Following the issue highlighted by @mynona, I recognized the importance of implementing strict PKCE validation. This step is key in bolstering the security measures of our OAuth implementation, significantly reducing the risk of authorization code interception attacks, a notable concern in public client scenarios.

Testing and Compatibility

vamsii777 commented 10 months ago

This merged PR #6 delivers enhanced PKCE validation, aligning with our broader goal of implementing OpenID Connect for a more secure and streamlined user experience #3