Hey there, i got my app like this:
-front on react.js
-next.js backend/routing
-backend on asp net core.
At first, i configured the react+next part to be where the authentication is handled, but then I discovered it’s not recommended to pass the auth0userId string to the backend on api calls. So I tried adding the authentication somehow on the backend part as well so i can access user claims. But I can’t figure out how to do it. I’m looking at the example solutions and “quickstart” tutorials, but should I be looking for asp.net core ones, or keep the react+next part and add something on the asp.net core part? What should be the correct flow there?