Hi Team, I am trying generate a token for Glue bac...
# help
i
Hi Team, I am trying generate a token for Glue backend API curl --location 'http://glue-backend.de.spryker.local/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Accept: application/json' \ --data-urlencode 'grant_type=password' \ --data-urlencode 'username=<BO dmin user mail ID> ' \ --data-urlencode 'password=<BO user pwd>' but getting [ { "status": 400, "code": "invalid_client", "message": "Client authentication failed" } ] in DB, I could observe one Oauth client with identifier frontend Can someone explain how client ID is fetched when we pass the password grant type ?
w
The functionality to install multiple oauth clients was only added a few days ago (https://github.com/spryker/oauth/releases/tag/2.10.0). You probably need to update your oauth module and configure the
OauthConstants::OAUTH_CLIENT_CONFIGURATION
. It needs to have all fields of the
OauthClientTransfer
i
ok thanks, i will try updating the module