I'm new to the authentication stuffs. I have an application which after login, send the credentials against server and server generate the JWT token and send it back to the client(mobile device).
This is my question : After having the JWT available, Where should I store my information on the upcoming requests? for example If I want to send a POST request I have two approaches :
- store needed information on the request's
body - after encoding the information using
JSONformat inBase64then store it onpayloadof theJWT
maybe I'm wrong and these are not the solutions. I just wanted to know what is the best (standard) approaches for this job ?