Best way to access secured external services

Hi to all the Lagom community.

We are currently exploring Lagom for our backend implementation and really enjoying the path, which includes in our case learning Scala despite having previous experience in Java, hoping for great returns as we focus more and more on reactive systems.

We are currently trying to determine the best way to implement the access to external services that require autenticated access through different mechanisms (Oauth2, API key, …).

So this question is NOT related to how to secure Lagom services (for that, we’ve found [1]) but about how to best implement access to external services that require authentication.

Any ideas or sample project, please?

Thanks a lot in advance, and Happy New Year!

Oscar

[1] https://github.com/lagom/lagom-recipes/tree/master/auth-jwt/auth-jwt-scala-sbt example