External Application (Confidential) OAuth2.0

How can we get refresh token for external application, I am able to get the access token using
: UiPath .
{
“grant_type:“client_credentials”,
“client_id”:”{app_id}“,
“client_secret”:”{app_secret}“,
“scope”:”{Applkciation scope}"
}

How can we request for refresh token ?

@narender.bn

Please check this

Cheers

I have gone through it but nothing specific found about it

@narender.bn

from same link

cheers

yes , but with grant type client_credentials, we never get refresh token to pass existing token

@Anil_G Could you please provide feedback on this ?

@narender.bn

Cleint creds are different…authorization code provides the refresh token

Cheers

As my App is Confidential and Scope is application, I have use client credentials grant type , am I wrong here?

@narender.bn

Then why do you need a refresh token?

Just use client creds and get access tokwn always

Cheers

It will expire in 1hr, after every 1h we need to raise request for token. I though with refresh token we would have better way to implement it.

Thanks for your prompt support.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.