I have the following case: I have two restfull api built in asp.net Core, one specific for user authentication and the other that performs operations, to say the least, student enrollment. The idea I have is that each api is consumed by a different site, that is, a api is consumed by a React site that manages users and the other by another site that performs registration operations.
So when a user authenticates, the intention is for the React site to create a authentication cookie that can be shared with the license plate site. Currently I know how to do it with MVC.net Core, since .net has a configuration mechanism to share cookies between various applications.
But I would like to do this with React, is there a way to do it safely? I thank you for your great help!