oauth2-client icon indicating copy to clipboard operation
oauth2-client copied to clipboard

Feat: Add extra params support to TokenParams

Open rihardsgravis opened this issue 1 year ago • 1 comments

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.

rihardsgravis avatar May 15 '24 09:05 rihardsgravis

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.

paul-hicks-nz avatar Jun 10 '24 22:06 paul-hicks-nz

I'm closing this. If it comes up more often i'll reconsider!

evert avatar Feb 09 '25 00:02 evert