<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VcqSAFOkta Classic EngineIntegrationsAnswered2024-03-25T04:11:13.000Z2018-05-10T22:59:32.000Z2018-05-10T22:59:32.000Z
questions on service to service authentication

Hi, I'm creating a design for authentication between a bunch of backend services. e.g, I have services A, B, C, all of them require an access token from Okta.

 

1) Apps go through Okta authentication, gets an access token and calls A, B, or C. This is pretty straightforward. 

 

2) Behind the scenes, services A, B, and C also talk to each other.  How do I design it in such a way that A can talk to B all the time with proper authentication, while at the same time, A and B don't have to bug Okta all the time?

 

One thing I found is refreshing access tokens. 

 

https://developer.okta.com/authentication-guide/tokens/refreshing-tokens  

The workflow described in the link above makes a lot of sense.  I do have a couple of detailed questions

 

1) Is it possible to create a service account (just like an user but tied to a service) to get Refresh Token?  If yes, how can that be done?

 

2) What are the best good practices around caching/storing the long-lived refresh token locally (to a service like A or B)? 

 

Thanks,

 

 

 

 

 


This question is closed.
Loading
questions on service to service authentication