So I'm working on a application where a access tokens(JWT,Using spring security) is used authenticate a user the tokens are encrypted and stored in a httponly cookie (ngx-cookie) and the access token has validity of 24hrs and a new token is issued if expired ,currently I'm working on localhost and the bearer token is visible in the headers in the network tab whenever I make an api call. My question is when the application is live and over https(SSL) will the headers and the payload data will be still visible or hidden/encrypted ?
Currently new to programming so any guidance will be very helpful.
Bearer tokens are shown only for failed api calls not sure how and why