I am developing a mock Auth0 server for when running my dockerized E2E tests as suggested by this article (Run Pre-Deployment Tests). The article doesn’t state how to obtain access tokens nor the responses when testing and was wondering how I would be able to?
My application uses the auth0 SPA SDK and I intend on having the requests be sent to my mock Auth0 server in E2E tests. I was planning to send the same response when actually logging in and provide a long lived access token. My only issue is that the longest token I can create is 30 days and unsure what the Auth0 SPA library expects for the rest of the response.
Any help would be appreciated!