The CreatorCon Call for Content is officially open! Get started here.

How to get access token using client credentials as grant type while doing inbound integration

lakshmi123
Tera Contributor

Hi Team,

      Through OAuth authentication grant type is password i got access token and refresh token. But It got expired. Can you please provide solution how to get access token using client credentials as grant type while doing inbound integration.

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi @lakshmi123 

neither it's clear what you are talking about nor it makes sense. 

Maik

lakshmi123
Tera Contributor

How to get access token using default grant type is client credentials . 

Tai Vu
Kilo Patron
Kilo Patron

Hi @lakshmi123 

OAuth Credentials will generate the token to the OAuth Credentials [oauth_credential] table.

The Token can match to your Credentials with the OAuth requestor profile or Requestor ID field. And, you can retrieve the token through the token_received field. There's also the expires date time there.

 

So generally, you can retrieve and use the generated token if it not yet pass the expire date time. Otherwise, just generate a new one then use it and update the token record.

 

Cheers,

Tai Vu