httr2
httr2 copied to clipboard
`oauth_client_get_token` uses default User Agent
I'm seeing that when a client is registered it seemed to be using the default user agent string instead of the custom one I had defined. I think I've traced it back to the oauth_client_get_token()
function which posts data to the token_url
without using the same User Agent string.
Could you provide a simple reprex? Just so I get a sense of what you're doing.
I'd be happy to but there are two blockers which I can't see a way around:
- The function does not take the user agent as an argument
- The function creates a request and processes the response in one go
In that case, could you do a PR?
I don't think I know how for this one.
Closing since I don't understand what you want 😄