Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

Consume endpoints from remote or share authentication token (SSO?) #9011


0
josejunior created

I have the following scenario:

ASPNETZero .net core MVC v8.6.0.0

We published the MVC at https://mvc.onesamedomain.com

and HOST part at https://host.onesamedomain.com

We have an application running java, hosted at https://otherapp.ondedomain.com The user logs in to MVC generating the authentication TOKEN, which is sent to the java application.

How can I implement so that the Java App can consume the endpoints of https://host.onesamedomain.com with the authenticated token in the MVC environment?

We noticed that XSRF-TOKEN and Antiforgery Cookies are bounded to the full url site. If user login at https://mvc.onesamedomain.com they are not logged in at https://host.onesamedomain.com Is it possible to change this?

Could you help?

TIA


1 Answer(s)