cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

[Oauth2] How use refresh token

SOLVED
Level 1

[Oauth2] How use refresh token

Hey guys,

I implemented a service which get an access token and a refresh token. I can use my access token to access the API I want, but I need to reload manually my service each 3hours to got a new access token. I'm new with that kind of technology and I want to know the best way to implement a service to use my refresh token. Does I need to create a new thing ? a timer things ?


You guys already help me a lot, thanks for everything I hope you could help me again.

Guillaume

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: [Oauth2] How use refresh token

Yeah, I would use a timer. You can set it to go off every 3 hours on the configuration tab, and then subscribe to it on the thing where you have the service and do whatever you need to do to refresh the token.

Hope this helps!

3 REPLIES 3

Re: [Oauth2] How use refresh token

Yeah, I would use a timer. You can set it to go off every 3 hours on the configuration tab, and then subscribe to it on the thing where you have the service and do whatever you need to do to refresh the token.

Hope this helps!

Re: [Oauth2] How use refresh token

I hope it will works, I'll tell you in three hours

Re: [Oauth2] How use refresh token

Hello,

Can you post how you did it.

I'am getting the same problem and it would be helpful if you show us how.

Thank you

Amal