Hello,
We are using OIDC/Oauth flow for our microservices. We have multiple services (REST APIs) and SPA in angular.
As of now, we have created one public client for SPA and one client for each service (REST APIs).
Question is:
There are following options:
Option 1: We use single client i.e. client created for SPA is used by service as well, since they just need to verify the token and nothing else.
Option 2: We use one client for SPA and one client as bearer for all backend services (REST APIs)
Option 3: We use one client for SPA and one client as bearer per backend service (REST APIs)
Which option is recommended and why ?
-Thanks,
Navin