1

I am sending request to server for getting new access token by using refresh token but there is call going to authenticate and I think it shout not authenticate as user is already authenticated. I just need a new access token by using refresh token

Request is as follow:

private authorization = btoa("Client-Id:Client-secret");
  private headers = new Headers({"Authorization": "Basic " + this.authorization,
                "Content-type": "application/x-www-form-urlencoded"});

const body = "grant_type=refresh_token&refresh_token="+ refresh_token; 

Sending it to the "oauth/token" mapping.

What is the solution that user should not go to authenticate.

Thanks.

mruanova
  • 6,351
  • 6
  • 37
  • 55
  • You use the client credentials grant type. How does user involve in this scenario? Do you refer the user to the client? Those are two different entities in oauth context – SAP Mar 15 '19 at 00:32

0 Answers0