OAuth2 for 2 way communication between 1 Prod Server & 1000+ Client Servers

October 2, 2019 By admin

Loading ....
 

Software https://softwareengineering.stackexchange.com/questions/387523/oauth2-for-2-way-communication-between-1-prod-server-1000-client-servers

I am looking into re-architecture some of the APIs my organization is using. I am currently trying to work out the best way for application communication. Some background:

I have 1 Prod server (Symfony 4 ) ) which provides APIs along with 900 customer servers which have these APIs. Likewise, I also have 900 customer servers that provide APIs. I want to work out an authorization and authentication scheme to secure these APIs. OAuth of course comes to mind. Some questions in my head are:

  1. Do I want to conduct an oauth host? If I host an server on the PROD server that eases this two way communication or would be suffice?

  2. Many of the 900 client sites (unfortunately) do not have ssl. Oauth2 https is needed for utilizing. Is there any way round this? By perhaps encrypting the post body separately? With no ssl on customer server api calls from my own host to client are secure.

  3. In future we’d want to provide the”Login with XYZ” choice, so that our clients can login using the very same credentials across products.Would it require another oauth server? Or can it be accomplished using this oauth flow itself?

Does someone have some thoughts/advice?

Thanks! 🙂

 


Loading ....