Client credentials no Refresh token
-
I am a pro subscriber of the plugin. When I use user credentials, I successfully get a token and a refresh token at oauth/token:
Request body
{ "grant_type": "password", "username": "[email protected]", "password": "password" }Response
{ "access_token": "w2yktpqbivko8zggttalpuyxf1rv9sczyj2unw0f", "expires_in": 604800, "token_type": "Bearer", "scope": "basic", "refresh_token": "lbyvmr6u2b8iggiquc87bbckzxy5a6dpuztpetxp" }However, when I use the client credentials grant type, no refresh token is returned.
Request body
{ "grant_type": "client_credentials" }Response
{ "access_token": "zkn86ir4bhkjczlxxxxzddy7yewx4fxsnoued21", "expires_in": 604800, "token_type": "Bearer", "scope": "basic" }In Edit Client settings for the client, Client Credentials and Refresh Token are both checked under Allowed Grant types.
In Settings, under Advanced Configuration, Refresh Tokens is checked.
So for the client with Client Credentials and Refresh token, no refresh token is being returned. I’ve checked the settings numerous times. This doesn’t seem to make any sense. Am I doing something wrong or misunderstanding something?
The topic ‘Client credentials no Refresh token’ is closed to new replies.