I followed the Angular quick start: Auth0 Angular SDK Quickstarts: Login and I got all the way through it to the point where I can dump the logged in user$ to the page and have a look at what I get. It looks like I get this sub
field in the result which I can use to uniquely identify the logged in user.
Is it legit to then pass the value of that sub
field along to my API routes (e.g. in the payload object of a POST) on my own server to reliably and securely associate the API access with the logged in user? If not is there an article I can read to help me bridge that gap?