Skip to content

Conversation

@codefiesta
Copy link
Owner

@codefiesta codefiesta commented May 31, 2025

Description

  • ⭐️ OAuth code reorganization into separate extensions for improved readability.
  • OAuth is now using an .ephemeral urlSession instead of the .default urlSession.
  • Added additional provider option that allows for setting the customUserAgent.
  • Added additional provider option that allows for explicitly setting the encodeHttpBody option (true by default) that either encodes the query parameters into the http body (using application/x-www-form-urlencoded) or simply sends the query parameters with the request.
  • Provided sample oauth configurations for Slack and LinkedIn using the new additional provider options.

Fixes #38

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

Using an ephemeral url session now instead of default.
Added provider option for setting customUserAgent.
Added provider option for explicitly encoding requests into the http body.
@codefiesta codefiesta self-assigned this May 31, 2025
@codefiesta codefiesta added the enhancement New feature or request label May 31, 2025
@codefiesta codefiesta marked this pull request as ready for review May 31, 2025 16:43
@codefiesta codefiesta merged commit 9f0eacb into main May 31, 2025
3 checks passed
@codefiesta codefiesta deleted the encoding_user_agent_options branch May 31, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Custom UserAgent (Slack)

2 participants