I can't get this to work. I get a 404 from the login process when running a basic test.
I get this when running cypress.
```
1) Logging in
should login:
Error: the object {
"code": 404
"codeFrame": [undefined]
"description": [null]
"hasFailed": true
"isPending": true
"name": "Error"
"original": "Error: Not Found"
"parsedStack": [
{
"message": "[object Object]"
"whitespace": ""
}
{
"message": ""
"whitespace": ""
}
]
"sourceMappedStack": "[object Object]\n"
"stack": "[object Object]\n"
"statusCode": 404
"statusText": "Not Found"
} was thrown, throw an Error :)
at thrown2Error (http://localhost:3000/__cypress/runner/cypress_runner.js:126237:10)
at Runner.fail (http://localhost:3000/__cypress/runner/cypress_runner.js:176863:25)
at Test. (http://localhost:3000/__cypress/runner/cypress_runner.js:125910:18)
at next (http://localhost:3000/__cypress/runner/cypress_runner.js:179093:24)
at http://localhost:3000/__cypress/runner/cypress_runner.js:179122:13
at tryCatcher (http://localhost:3000/__cypress/runner/cypress_runner.js:13196:23)
at Promise._settlePromiseFromHandler (http://localhost:3000/__cypress/runner/cypress_runner.js:11131:31)
at Promise._settlePromise (http://localhost:3000/__cypress/runner/cypress_runner.js:11188:18)
at Promise._settlePromise0 (http://localhost:3000/__cypress/runner/cypress_runner.js:11233:10)
at Promise._settlePromises (http://localhost:3000/__cypress/runner/cypress_runner.js:11313:18)
at Promise._fulfill (http://localhost:3000/__cypress/runner/cypress_runner.js:11257:18)
at Promise._resolveCallback (http://localhost:3000/__cypress/runner/cypress_runner.js:11051:57)
at Promise._settlePromiseFromHandler (http://localhost:3000/__cypress/runner/cypress_runner.js:11143:17)
at Promise._settlePromise (http://localhost:3000/__cypress/runner/cypress_runner.js:11188:18)
at Promise._settlePromise0 (http://localhost:3000/__cypress/runner/cypress_runner.js:11233:10)
```
In my app I don't specify the audience. It's optional in nextjs-auth0.
Here's the env vars that I have specified for nextjs-auth0 and these are mirrored in cypress.env.json
I can't get this to work. I get a 404 from the login process when running a basic test.
I get this when running cypress.
``` 1) Logging in should login: Error: the object { "code": 404 "codeFrame": [undefined] "description": [null] "hasFailed": true "isPending": true "name": "Error" "original": "Error: Not Found" "parsedStack": [ { "message": "[object Object]" "whitespace": "" } { "message": "" "whitespace": "" } ] "sourceMappedStack": "[object Object]\n" "stack": "[object Object]\n" "statusCode": 404 "statusText": "Not Found" } was thrown, throw an Error :) at thrown2Error (http://localhost:3000/__cypress/runner/cypress_runner.js:126237:10) at Runner.fail (http://localhost:3000/__cypress/runner/cypress_runner.js:176863:25) at Test.In my app I don't specify the audience. It's optional in
nextjs-auth0
.Here's the env vars that I have specified for
nextjs-auth0
and these are mirrored incypress.env.json
Otherwise my setup is the same as in the readme.