Skip to content

Conversation

@nyroDev
Copy link
Contributor

@nyroDev nyroDev commented Apr 23, 2025

This PR is following #65 to be more versatile and work in any cases.
The $options array passed to the sendAuthenticatedRequest should not be used as request options.
Instead I changed the way authorization header was set to be more like the OAuth2 implementation.

This PR also standardize how requestOptions (and user-agent header) is set to be the same across the 2 implementations.

This PR should be used instead of #82

Add getRequestOptions for Oauth2 and PermanentToken
@ahongbynder
Copy link
Contributor

@ConstantBqt heads up regarding your PR #82, sounds like these changes should be used.

@ahongbynder
Copy link
Contributor

@ConstantBqt as a follow up can you check to see if these changes suffice in comparison to your original PR for #82?

@ConstantBqt
Copy link
Contributor

Hi @ahongbynder,
Yes, I confirm it will fix the issue.
I close #82

Thanks

@ahongbynder ahongbynder merged commit 306d2ba into Bynder:master May 5, 2025
5 checks passed
@nyroDev nyroDev deleted the fix_header_in_permanent_token_handler branch May 5, 2025 22:04
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