Skip to Content
0
Former Member
Apr 27, 2016 at 04:11 PM

Hybris 6: Oauth issue

1452 Views

Hi All,

I am getting below error while retrieving Oauth token from URL http://localhost:9001/authorizationserver/oauth/token

{ "errors": [ { "message": "Bad client credentials", "type": "BadClientCredentialsError" } ] }

Steps followed:

1) Installed Hybris 6 for B2B.

2) Enabled ycommercewebservices and authorizationserver extensions.

3) Run impex for ROLE_TRUSTED_CLIENT specified in link (https://help.hybris.com/6.0.0/hcd/627c92db29ce4fce8b01ffbe478a8b3b.html#loio4079b4327ac243b6b3bd507cda6d74ff)

4) Used Postman to send attributes and values using x-www-form-urlencoded:

client_id --> trusted_client

client_secret --> secret

grant_type --> password

username --> axel.krause@rustic-hw.com (powertool user)

password --> 12341234

Can somebody let me know what I am missing.

Note: I am able to login in powertools storefront using same credentials.

Thanks