Base solution for your next web application
Open Closed

Microservices integration #8909


User avatar
0
bancentral created

Hi guys,

My team and have have the scenario bellow:

We actually have an API project with ASPNET ZERO (Principal API) and an Angular Client project that comes with the project. We have like 2 o 3 more APIS running with ASPNET Project that we are using like microservices, we want to authenticate this "microservices" with the principal API.

Do you have some documentation or RECOMENDATION to achieve this?

Thanks in advance!!!

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Zero project can be integrated with identity server4, you can check identity server4 if it can meet your needs. It is a very common identity authentication solution.

    https://identityserver4.readthedocs.io/en/latest/

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    bancentral created

    Im still having the problem...

    I would like to authenticate (without passing user and password) a Microservice that i have to a aspnetzero API, how can i achive this?? i could not getting this work.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @bancentral,

    Currently it is not possible to authenticate without sending username and password even if you use Identity Server.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    murat.yuceer created

    Hi if we set jwt token key same for all application, they could resolve same token right?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @murat.yuceer,

    Yes, it should work like that.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)