Skip to content

Conversation

@IamPekka058
Copy link
Member

This pull request introduces a new OAuth2PKCE class to support OAuth 2.0 with Proof Key for Code Exchange (PKCE) in the github_flutter package. The changes include adding a new utility file and updating exports to make the new class accessible.

New Feature: OAuth 2.0 PKCE Support

  • Added OAuth2PKCE class: Implements OAuth 2.0 PKCE flow with methods to generate authorization URLs and exchange authorization codes for access tokens. This includes handling client ID, scopes, redirect URI, and state, as well as making HTTP requests to the OAuth server. (lib/src/common/util/oauth2_pkce.dart)

Codebase Update:

  • Updated exports: Added oauth2_pkce.dart to the exports in lib/src/common.dart to make the new OAuth2PKCE class accessible throughout the package. (lib/src/common.dart)

@IamPekka058 IamPekka058 requested a review from java3east August 4, 2025 17:00
@IamPekka058 IamPekka058 merged commit 92227c2 into main Aug 4, 2025
1 check passed
@IamPekka058 IamPekka058 deleted the feature/oauth2_pkce branch August 4, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants