I am writing a simple HTTP integrations tests of my endpoints. My endpoints are deployed on AWS API Gateway. I have a third party service which sends the HTTP requests to my endpoints and validate it’s status code and response etc. I have a client created which is based on React and i can get the id token (JWT) from react sign in SDK and use that jwt to send requests.
But in case of my test cases, I have access to python SDK and i have no browser as i am simply running my test cases. Now how do i get the JWT token that i can use and send to MY endpoints to verify the response is correct or not.
Is there a way e.g if i send an HTTP call to auth0 by providing the user name and password and get the id token (JWT) to use it.