Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Added more oauth2 package parameters #25

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

Guldem
Copy link
Member

@Guldem Guldem commented Sep 10, 2024

Fixes: #24

  • Synced oauth_chopper with auth2 package. This makes more parameters available which are supported by oauth2.
    • Be default OAuthChopper client can now also be provided with the following parameter. Which will be passed to oauth2.
      • scopes
      • basicAuth
      • delimiter
      • getParameters
    • Added newScopes & basicAuth parameters to OAuthChopper.refresh which wil be passed to oauth2
    • BREAKING: scopes has been removed from AuthorizationCodeGrant. These are now provided in the OAuthChopper client.
    • BREAKING: OAuthGrant.handle has been extended to support new parameters as optional named parameters, including secret and httpClient.

@Guldem Guldem merged commit 3ce6a7d into main Sep 10, 2024
1 check passed
@Guldem Guldem deleted the feature/mirror_oauth_lib branch September 10, 2024 09:37
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.

Allow setting basicAuth: false when doing a refresh()
2 participants