Grant Type

Where should the grant type be configured for the application?

I'm utilizing the client_credentials grant type for OAuth 2.0 token retrieval to access the payment API. However, I'm encountering a Bad Request error with an "unauthorized_client" message, indicating that “The value specified for the grant_type parameter 'client_credentials' is not valid for the application.”

Comments

  • @Sumathi Babu I don't believe either of the flows support client_credentials grant type. They both use authorization_code. If I understand right that is used when you have the client credentials and want to pass them along in the request. BB Payment API doesn't support this. Both paths (Public and Private) have you make an Oauth request through BB auth endpoint (where the user is requested to login) and then an auth code is passed back to be used authorization_code grant type to collect the tokens.

Categories