Hi Team, i want to clear 1 confusion.
we have an application which can be called by multiple apps.
So in order to accomplish service to service authentication, which Service principal should I use during authentication using java MSAL libraries?
should the Service principal credentials belong to the "caller application" or the "callee application"?
I see that in all samples, SP is hardcoded in property files, this shows that they belong to "callee application" but in that case do we share the SP with all the calling application?
And how about if we want to restrict few applications?