Expire time of access token

Created at 28 May 2020, 08:03
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
BO

bodhisvaha.forex

Joined 21.04.2020

Expire time of access token
28 May 2020, 08:03


Hello,

I got access token, but it has expire time.
Do I need to get token again every time token is expired?
And If so, are there a way to get token which have no expire time?


@bodhisvaha.forex
Replies

PanagiotisCharalampous
28 May 2020, 08:15

Hi bodhisvaha.forex,

You cannot get a token that does not expire. You need to refresh your tokens before they expire using the refresh token. You can read more about the authentication process here.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

bodhisvaha.forex
28 May 2020, 09:00

RE:

PanagiotisCharalampous said:

Hi bodhisvaha.forex,

You cannot get a token that does not expire. You need to refresh your tokens before they expire using the refresh token. You can read more about the authentication process here.

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi Panagiotis,

Thank you for your reply. I have one more question. If I make refresh token request, current access token will be changed? Or current access token will not be changed and expire time will be postponed?


@bodhisvaha.forex

PanagiotisCharalampous
28 May 2020, 11:03

Hi bodhisvaha.forex,

You will receive a new token and refresh token.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

bodhisvaha.forex
28 May 2020, 12:34

RE:

PanagiotisCharalampous said:

Hi bodhisvaha.forex,

You will receive a new token and refresh token.

Best Regards,

Panagiotis 

Join us on Telegram

Hi Panagiotis,

Thank you for your reply


@bodhisvaha.forex