I have two services: Service A and Service B
I have a central Identity Server that issues and validates tokens.
I need some of the resources of Service B to be accessed only by Service A.
- How do I validate the audience, or how do I make sure that for ex. the client credentials token of Service A is valid when calling Service B, and tokens from other services are invalid.
- Is it a bad practice or are there any issues in using authorization code grant type for service to service authorization ?