Bhushan Rohankar
Bhushan Rohankar

Reputation: 27

Spring Boot Authorization server (SSO Implementation)

I am Having 3 Application for this I am building 1 authorization server for better communication and security. and also i want to do SSO on this 3 application where my authorization server will act as a Identity provider.

my question is how can i inter-communicate with this 3 application means.

  1. for A Service I authenticate the user and get access token then i want to communicate with B -service then how can i do this with access token ?
  2. and one more scenario if someone logins into my B-service then i want to give access for other 2 services(A and C) ?
  3. Implementing SSO with Authorization server is it possible ? note- I dont want 3rd party implementation (Keyclock, okta) want to build or own

Upvotes: 1

Views: 873

Answers (1)

Andrei Lisa
Andrei Lisa

Reputation: 4926

Yes, if you will have auth-server for all these 3 apps. From Service to Service communication that is usually an resource-server you will pass token in request headers and that`s all.

Upvotes: 1

Related Questions