Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62466

Web API Token refresh problem

$
0
0

I have a web api that uses a token. To get it to work the token can only be 10 minutes old. 

Manual steps to refresh:

1. refresh token query

2. refresh Web API query that uses the token

 

I moved this to dataflows and it fails when all the querys are in one dataflow. I tried to move the token to a new dataflow and refresh that first. However I can only choose to put it a half hour before. If I schedule it a half hour after the token is made it fails because the token is too old.

 

Problem with service.png

 

It also fails if I put them both at the same time. 

Basically I need to delay the Web API query 30 seconds until the token is ready.

Any ideas?


Viewing all articles
Browse latest Browse all 62466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>