title: How to authenticate in asp.net core rest api from react app
body: <p>I have 2 asp.net core web applications: REST API and React UI. React UI uses default <code>Individual User Accounts</code> option for authenticating. They are separate solutions.<br />
  What I want is to authenticate in API using this default authentication. But I'm don't know how can I do this. So what I want is<br />
  <code>Make a call from UI -&gt; Grab user credentials -&gt; Go to API method -&gt; Validate user (e.g. role) -&gt; Return response</code>
  As far as I know, default authentication sets <code>AspNetCore.Identity.Application</code> cookie that used for auth in react. Probably, I can somehow parse it or just use it to authenticate on API side. I thought it's JWT token, but seems like it's not</p>