Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Use microservice to Authenticate and authorise #7569


User avatar
0
antonis created

Hi,

I have a system developed with aspnet zero (.net core & angular). I have a microservice now that receives requests from a user, perform some actions and then return results back. I need this microservice to use the permissions that are set through aspnet zero. How can I implement such functionality?

Thanks in advance


3 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, do you mean using aspnetzero permission in the external microservice that is not part of aspnetzero application?

  • User Avatar
    0
    antonis created

    Yes

  • User Avatar
    0
    ryancyq created
    Support Team

    Hi, if your microservice is authenticated via aspnetzero application, then you can consider using claim/scopes to achive this.

    Otherwise, you can create an API on granted permissions for your microservice to consume.