All Apps and Add-ons

Why does the prepare_token_request() got multiple values for keyword argument 'grant_type'?

las
Contributor

Hi.

I'm hoping you can help me, I'm trying to access a REST API with oauth2 Bearer Token, and need to set grant_type=password.
When I'm doing it in OAUTH 2 Token Refresh properties I get the following error:
Exception performing request: prepare_token_request() got multiple values for keyword argument 'grant_type'

If I need to set this property how do I do it?

Kind regards
las

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!