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

Sharing Authentication Token for different websites #6229


User avatar
0
OriAssurant created

Hi Abp Heros,

We have two different abp zero applications (one M5J1, and the other C2A7) using the same backend databases and sharing same users.

We were trying to call app2's API method from app1, but app2 requires authentication as well. Is it possible to use the authentication token generated from app1 to authenticate the user to call app2's API method?

Thank you


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

    Hi, are app1 & app2 using their own identity server? e.g. app1 runs its own identity server and app2 runs its own as well.

    In this case you can,

    1. implements app2's authentication in app1 as external authentication
    2. create a service account on app2 and use it in app1 when calling app2 APIs