C
C#10mo ago
Zerraq

.NET Core & React | Authentication

So I want to create a new webapp with React and .NET Core. I created a new project in Visual Studio and now I want to implement a JWT Authentication, but unfortunately I have no clue where and how to start. (im a newbie CatWow ) Would be so nice if someone could help me <3 love y'all
3 Replies
TerryDev
TerryDev10mo ago
https://github.com/msuddaby/ASPNetCoreJWTAuthTemplate heres a stock template (I made) for ASP.NET Core Web API with JWT auth. there's plenty of ways to handle auth in react, here's an example of storing / fetching auth stuff with useContext: https://gist.github.com/msuddaby/76b7b68ba60565b82cabd7b904b4cabb hopefully this is enough to help you get started.
GitHub
GitHub - msuddaby/ASPNetCoreJWTAuthTemplate: An ASP.NET Core Web AP...
An ASP.NET Core Web API starter project with JWT authentication - GitHub - msuddaby/ASPNetCoreJWTAuthTemplate: An ASP.NET Core Web API starter project with JWT authentication
Gist
useContext with ASP.NET
useContext with ASP.NET . GitHub Gist: instantly share code, notes, and snippets.
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Zerraq
ZerraqOP10mo ago
Thank you guys <3 this helped me a lot!! What I learned now is the JWT authentication will be the second step for me, first i need a login/register process if i am correct
Want results from more Discord servers?
Add your server