In C# and with claims it is easy to set up a login system. I am wondering how to correctly do it with React and C# as a back-end?
Do I have to send login and password from React's form with an xmlhttp post request and check if it exist? Should I then setup claims and then what? Send and ID as a JSON result back and save it to my local storage? This makes no sense to me since there are claims already. Or should I check if there are any claims on every refresh, and if there are, send back at least the ID to React's view?
Any ideas?