All Apps and Add-ons

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

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 granttype=password.
When I'm doing it in OAUTH 2 Token Refresh properties I get the following error:
Exception performing request: prepare
tokenrequest() got multiple values for keyword argument 'granttype'

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

Kind regards
las

0 Karma