#where to send JWT ?
10 messages · Page 1 of 1 (latest)
Usually in the Authorization header in the format bearer <the token>
That's pretty much the standard. You can google for "bearer token" if you want more information
But i didnt mean the auth token
Oh, then that's not really standardized in any way. We used body in a previous project, because you can say it's the actual payload of the request and not just some additinal metadata
But if you want to use a link from email for example, then your only option is the query or params. Query is better in this situation, because it's encrypted on the transport layer with TLS, while the url is not
Even if its from email I am redirecting to the frontend
and then request
to backend
The url before the query string still travels over the network unencrypted so the routers know where to route it.