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

Feat: Add extra params support to TokenParams #139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rihardsgravis
Copy link

Some providers expect to send extra parameters (e.g. HubSpot expects the client_id to be present) to the token exchange endpoint, similar to the auhtorization URI.

@paul-hicks-mahana
Copy link

Isn't the client_id added automatically in the request() method? If you set your authenticationMethod to client_secret_post, the client_id (and client_secret, if provided) are added to the request body.

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.

2 participants