# ASP.NET Core + ReactJS

**URL:** <https://community.auth0.com/t/asp-net-core-reactjs/7949>\
**Category:** Get Help\
**Tags:** react, aspnet-core\
**Created:** [August 23, 2017, 11:45pm UTC](https://community.auth0.com/t/asp-net-core-reactjs/7949 "2017-08-23T23:45:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vouvonikos.v](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@vouvonikos.v](https://community.auth0.com/u/vouvonikos.v)\
**Post date:** [August 23, 2017, 11:45pm UTC](https://community.auth0.com/t/asp-net-core-reactjs/7949/1 "2017-08-23T23:45:08Z")

</div>

Hello,  
I built a Web API in [asp.net](http://asp.net) core 2.0 and building the front-end in ReactJS.  
How can I create token that is valid for both the SPA and the API?

EDIT:  
I can already login to the front-end but of course the token is invalid for the back end.  
I’m new to both ReactJS and Auth0 so any suggestions are much appreciated.

---

<div class="post-metadata">

**Author:** ![vouvonikos.v](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@vouvonikos.v](https://community.auth0.com/u/vouvonikos.v)\
**Post date:** [August 24, 2017, 2:40am UTC](https://community.auth0.com/t/asp-net-core-reactjs/7949/2 "2017-08-24T02:40:51Z")

</div>

I found a similar post here: [http://community.auth0.com/questions/6828/aspnet-core-vuejs](http://community.auth0.com/questions/6828/aspnet-core-vuejs)

After following the instructions I solved my issue

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/asp-net-core-reactjs/7949/3 "2018-03-02T05:56:05Z")

</div>


