How to Get Encoded JWT in Angular Using Amplify?
I’m using Angular with AWS Cognito for authentication and am trying to implement an HTTP interceptor to attach an access token to outgoing requests. My current implementation retrieves the access token, but it appears to be decoded. I need to send the encoded version of this token. Below is my code: