Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Asynchronously generate oauth tokens

$
0
0

Say I need to get an oauth token before calling another service. Let’s also say that that token expires after 15 minutes and can be cached for use in multiple requests. How can I use akka or akka-http to prefetch and refresh that token asynchronously such that I don’t introduce api call latency due to the oauth server?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362