Skip to content

Conversation

@codefiesta
Copy link
Owner

Description

  • Introduces a new enum case of .error(Provider, OAError) on OAuth.State.
  • Replaces the publishing of an .empty state with .error states when errors occur during authorization flows.

Fixes #124

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@codefiesta codefiesta added this to the 1.5.0 milestone Jul 17, 2025
@codefiesta codefiesta self-assigned this Jul 17, 2025
@codefiesta codefiesta marked this pull request as ready for review July 17, 2025 17:27
@codefiesta codefiesta added ⚠️ breaking change Introduces a breaking change to the API. enhancement New feature or request documentation Improvements or additions to documentation labels Jul 17, 2025
@codefiesta codefiesta merged commit 597cc42 into main Jul 17, 2025
2 checks passed
@codefiesta codefiesta deleted the error_state branch July 17, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ breaking change Introduces a breaking change to the API. documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error State

2 participants