{"_id":"@121watts/cypress-nextjs-auth0","_rev":"3-be4b1ba6457160b5c617722d711fafba","name":"@121watts/cypress-nextjs-auth0","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@121watts/cypress-nextjs-auth0","version":"1.0.1","description":"Cypress commands to support Auth0 and Next.js.","source":"src/index.js","main":"dist/cypress-nextjs-auth0.js","types":"types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"build":"microbundle build -f cjs","dev":"cd cypress/dummy && next","test:ui":"cypress open","test:headless":"cypress run","cy:verify":"cypress verify","cy:info":"cypress info","release":"release-it"},"author":"","license":"MIT","devDependencies":{"@auth0/nextjs-auth0":"^1.2.0","cypress":"^6.3.0","isomorphic-unfetch":"^3.1.0","microbundle":"^0.13.0","next":"^10.0.6","react":"^17.0.1","react-dom":"^17.0.1","release-it":"^14.4.1"},"dependencies":{"auth0-js":"^9.14.3","futoin-hkdf":"^1.3.3","jose":"^2.0.4"},"gitHead":"c1bb2ae2d0fd9281140d285926b5dcfeaffdd670","_id":"@121watts/cypress-nextjs-auth0@1.0.1","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-1rPNMFmRNAgow/xA3cl9kdNM7ONoRzD4jgdEV/RakejnMGn1O1mdnEsB+SGkN+JLMXRp9MhaDyTIFX1i74e+nA==","shasum":"b59195b1e4a11a3566c25740320fafa51ed99184","tarball":"https://registry.npmjs.org/@121watts/cypress-nextjs-auth0/-/cypress-nextjs-auth0-1.0.1.tgz","fileCount":10,"unpackedSize":21152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggIIECRA9TVsSAnZWagAAyM8P+wZJ+/iNtnE/f3eSckRv\nYw+gdNS6QcC72MgZzV0KNHOJjHv7rDJ+a4LuG6IXxEIhMGc0ybv1Wh6BPgNr\nZFFQO5fKoS3a7jbnG0iAYmUoBL62OFxtbshBXc2Le7KmS0QejOnjtedQrA4o\nTN3is/k8LIZG3Kx1E0MYE4AIlzmApf0CSafi+ff+oqpE+kC3sewe+wnHsjAz\n47iuqJee9m/dANZWR12RWob4GCNFMIlVajrC6gIbJNID3zB7xsFz6n/KBefs\n3bV5I4Fs+pN9Nmk1TSZYBjNUDx9uVyNUW9GVB3GQ0XlKqqhxoQCgZ7+GfjRs\n3RojGF/V0sZ6TfUyU5AsNwUyOWWGFg2PIjKhdBlbneeFSSw58GL0J3x2VhWf\nAsfQpuSywSeoRTXA4lqDh6p2+2LEoHMIPwyuOmDuEK+gKwoAy50D1iLaRUaB\nhjD+kvuoaDXuQofA5VExB/FU5PU4oEr4zFKvVShm4FKV2tgbL0+4jBM50DjD\njBf6UgTB5D3vzdIiioT1rD+JpxH9x3SRKJso6G9dWs1ITWQyUo9DQXWfLq9+\nQUmZRCdLVnd/Q04Rxy8jFbKrQd9cV9X1pD3QjF8q/11o7ivDKU6zlpU5kOsE\nsmMKcblsTnK3LbWJATRa0IH2p3hKB9Uk0hAkppGAyts0cYl9v7EYnTYG6tZa\nxTbX\r\n=Hi4N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMv7oHItVG9HacZ+eFqiWvTPDvIAO7c2nFsHkPSbVo4gIgDuvK9/VtMxvA0X+CIzrKGbTGvtNn6gF8rzKD8riiLSg="}]},"_npmUser":{"name":"121watts","email":"andrew.watkinz@gmail.com"},"directories":{},"maintainers":[{"name":"121watts","email":"andrew.watkinz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-nextjs-auth0_1.0.1_1619034628353_0.49096035846025354"},"_hasShrinkwrap":false},"1.0.2":{"name":"@121watts/cypress-nextjs-auth0","version":"1.0.2","description":"Cypress commands to support Auth0 and Next.js.","source":"src/index.js","main":"dist/cypress-nextjs-auth0.js","types":"types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"build":"microbundle build -f cjs","dev":"cd cypress/dummy && next","test:ui":"cypress open","test:headless":"cypress run","cy:verify":"cypress verify","cy:info":"cypress info","release":"release-it"},"author":"","license":"MIT","devDependencies":{"@auth0/nextjs-auth0":"^1.2.0","cypress":"^6.3.0","isomorphic-unfetch":"^3.1.0","microbundle":"^0.13.0","next":"^10.0.6","react":"^17.0.1","react-dom":"^17.0.1","release-it":"^14.4.1"},"dependencies":{"auth0-js":"^9.14.3","futoin-hkdf":"^1.3.3","jose":"^2.0.4"},"gitHead":"c1bb2ae2d0fd9281140d285926b5dcfeaffdd670","_id":"@121watts/cypress-nextjs-auth0@1.0.2","_nodeVersion":"14.15.4","_npmVersion":"7.8.0","dist":{"integrity":"sha512-Gw8oH9/j6U5KEZcxcj/VHFnhrvc/A3SFS4+kW8tHjNqTz230ufmWRjZLI50ALt4SWy8WoMzecEjTPfP/4aEZsA==","shasum":"8ec5a5473ee6af39c8177385ac573493ca88197e","tarball":"https://registry.npmjs.org/@121watts/cypress-nextjs-auth0/-/cypress-nextjs-auth0-1.0.2.tgz","fileCount":10,"unpackedSize":21242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggIQbCRA9TVsSAnZWagAAm8QP/1MDPm91Bi1EZpNiZEsz\nGLyGqemuzC8Vu3kr5TGiIKC9tyitdgnSQa0xFlmx2/kcPssZ3+qtmnnB6J1M\nXwY/vJd28afdW/wlZA7kJF51UF5eaGIYcGemICj5bappnDnoF5m+YYUn6jYY\n3+hLfRvmw9isisYHAogqctZRaN8rwJcpUH4IVlDeHYojVydXfzGRghx7XlNS\nuEgafUIzsnmJiacA9AAznyW1F7VpyGInBp2jR7JPY0hlh+zvrVibjzuEKMou\ny5G1QLORNABLldKjakWu/U7+RN9n/HL0t5jt+A777MNpU4PlgW0NF1o8X5lk\nT0uala4pl6bBdFtjfaYXaV9H5RZz5d9rNWdcg4QdLCPm15KF6J+lik1zH0Nu\nKTgnwQJ7ozxEEepn7bMVNse0iowpG99LffM57ceSnbUFO1UwlHdUY0iSCb5Z\n5o+00OC4OX5Is37NnStQ/Mt5248xJmb5cU3kkwjzlO/qTFO/2L7Pm6G4fuRu\nPbC1c4s+sCjmm1LQ+My8LrXXsZ4HWag5Ogc4BqV8DrH7JMaaO9flNv8Mzkke\nFBTb4H+gp6mq/3bJ8Qq2GWxzViwTtI2j1NGjvJjeh/kjrLGEGc+FHNdA6K/z\n8puSPXHr1pIHvwWHLDucBSwPMR4yPA0LZk/FJ9zjebe8zMNaG7nCzfWKyfr5\nMBo1\r\n=DAGy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQ9QVRoddUZTYE1gF01fxXXV7qbTUOKonqVn5izJ82PAiBQkcmUyiqeNxff6LXrhNde6a0i6XP+cDLwpaWHCfJeRw=="}]},"_npmUser":{"name":"121watts","email":"andrew.watkinz@gmail.com"},"directories":{},"maintainers":[{"name":"121watts","email":"andrew.watkinz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-nextjs-auth0_1.0.2_1619035162484_0.0005392640087129585"},"_hasShrinkwrap":false},"1.0.3":{"name":"@121watts/cypress-nextjs-auth0","version":"1.0.3","description":"Cypress commands to support Auth0 and Next.js.","source":"src/index.js","main":"dist/cypress-nextjs-auth0.js","types":"types/index.d.ts","publishConfig":{"registry":"https://registry.npmjs.org/"},"scripts":{"build":"microbundle build -f cjs","dev":"cd cypress/dummy && next","test:ui":"cypress open","test:headless":"cypress run","cy:verify":"cypress verify","cy:info":"cypress info","release":"release-it"},"author":"","license":"MIT","devDependencies":{"@auth0/nextjs-auth0":"^1.2.0","cypress":"^6.3.0","isomorphic-unfetch":"^3.1.0","microbundle":"^0.13.0","next":"^10.0.6","react":"^17.0.1","react-dom":"^17.0.1","release-it":"^14.4.1"},"dependencies":{"auth0-js":"^9.14.3","futoin-hkdf":"^1.3.3","jose":"^2.0.4"},"gitHead":"c1bb2ae2d0fd9281140d285926b5dcfeaffdd670","_id":"@121watts/cypress-nextjs-auth0@1.0.3","_nodeVersion":"14.15.4","_npmVersion":"7.8.0","dist":{"integrity":"sha512-Sy322govX9ynIW9WSAs+/dOGdusB2o5aCAiTaTqxUbLhLFRLdOA9rZJ0uUd4Hjkmz3RhS1a6iyBu2++IKCHLkg==","shasum":"56f44158fe66aa0acc627b0a8693dcf6fb579cb3","tarball":"https://registry.npmjs.org/@121watts/cypress-nextjs-auth0/-/cypress-nextjs-auth0-1.0.3.tgz","fileCount":10,"unpackedSize":21243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggajdCRA9TVsSAnZWagAAl/0QAIy1oxKECo6/QidMoQI4\n6qgEaK2TcAWUMsW3q1DlIhbxA1/KpY1a4oqGbMv5bImHl+4fErIZNuwIIkfx\nxaRH8x9QTx0xVROLsNug8jDiaFLItbMMoAF7kr9VRes04uDBtRn+CsS234rK\nfBUi/y4TEDIxzolm05Pe1K2YY95qQQJ+8ZBfn9TKPVwbknvTha9t0wRA6HmY\nPSGUS8FeBN/ssU4ZJuipyqvf+VJot93S+aw6vcNrI90Xlu0g87e3V7rJcIW1\nPI6r3vB69I8c7f0nHuasCL3lnRhOvfPOmXxqBrg59MeNK6leaQubEngyULGo\nh8VIXaRCtdKSvAgMRn0anCirybY66HQyLMgva4mnPrrcw+5msJqN/W8MenLR\nP4fdLIinyh2hsI31XuySm6Zy8mVsyysvJMrKHX86WHrKmR6w9LSfkVA6XK1g\nbDhuWpsMO+IwY2b4VbbYdGCMzJudy89XMb+lSuWVvFueSe2Da039mxtTpHjr\nzk+Vhnv8jIbH0OH/eXJxUJzb0t8LeyAdQrGQQUzXC11HdXuR1r9E4q3rSysC\n6B+SZyFIKdJxz/L2kkvBnqtg2j+CHpZhK6xJwCI5KIR1ZW1UiuCt4OGTDGyb\n0mriac4eFpZX5WZEd2Dw/LLdvg6UyvgtTnb+KmU+N+AC/KlndVUB91e/5DrF\n2MWk\r\n=W8q+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFbKcaj8eEWn8G9rj0MmeVoSIeuX13ISd94MRoDWlJPgAiBMPRzkP4gEPXV2XZD23OOkxclwF47DWFjRr/LZKWsbzw=="}]},"_npmUser":{"name":"121watts","email":"andrew.watkinz@gmail.com"},"directories":{},"maintainers":[{"name":"121watts","email":"andrew.watkinz@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-nextjs-auth0_1.0.3_1619110109341_0.8325068950396297"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-21T19:50:28.353Z","1.0.1":"2021-04-21T19:50:28.691Z","modified":"2022-04-04T10:30:59.481Z","1.0.2":"2021-04-21T19:59:22.887Z","1.0.3":"2021-04-22T16:48:29.465Z"},"maintainers":[{"name":"121watts","email":"andrew.watkinz@gmail.com"}],"description":"Cypress commands to support Auth0 and Next.js.","license":"MIT","readme":"# cypress-nextjs-auth0\n\n[![Build Status](https://travis-ci.org/sir-dunxalot/cypress-nextjs-auth0.svg)](https://travis-ci.org/sir-dunxalot/cypress-nextjs-auth0) [![npm](https://img.shields.io/npm/v/cypress-nextjs-auth0.svg)](https://www.npmjs.com/package/cypress-nextjs-auth0)\n\n## Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [login()](#login)\n  - [logout()](#logout)\n  - [Security considerations](#security-considerations)\n- [Contributing](#contributing)\n\n## Installation\n\n### Step 1: Install the addon\n\n```sh\nyarn add cypress-nextjs-auth0 --dev\n```\n\n### Step 2: Import the commands\n\n```js\n// cypress/support/index.js\n\nimport 'cypress-nextjs-auth0';\n```\n\n### Step 2: Register the task\n\n```js\n// cypress/plugins/index.js\n\nconst encryptTask = require('cypress-nextjs-auth0/encrypt');\n\nmodule.exports = (on, config) => {\n  on('task', encryptTask)\n}\n```\n\n### Step 3: Create a test user\n\nCreate a user in your Auth0 app that you will use specifically for testing.\n\nIn [security considerations](#security-considerations) you will see that [Auth0 recommends you use separate tenant for each environment](https://auth0.com/docs/dev-lifecycle/setting-up-env) (e.g. `development`, `testing`, `production`, etc). Consider creating this test user in a test-specific Auth0 tenant.\n\nYou'll need this user's email and password to complete `auth0Username` and `auth0Password` in step 4.\n\n### Step 4: Add Auth0 credentials\n\nAdd the following environment variables using [one of Cypress' supported methods](https://docs.cypress.io/guides/guides/environment-variables.html#Setting) (this code example assumes you are using a `cypress.env.json` file).\n\nReplacing values with your Auth0 application's values:\n\n```json\n// cypress.env.json\n\n{\n  \"auth0Audience\": \"https://lyft.auth0.com/api/v2/\",\n  \"auth0Domain\": \"lyft.auth0.com\",\n  \"auth0ClientId\": \"FNfof292fnNFwveldfg9222rf\",\n  \"auth0ClientSecret\": \"FNo3i9f2fbFOdFH8f2fhsooi496bw4uGDif3oDd9fmsS18dDn\",\n  \"auth0CookieSecret\": \"DB208FHFQJFNNA28F0N1F8SBNF8B20FBA0BXSD29SSJAGSL12D9922929D\",\n  \"auth0Password\": \"mysupersecurepassword\",\n  \"auth0Scope\": \"openid profile email\",\n  \"auth0SessionCookieName\": \"appSession\",\n  \"auth0Username\": \"testuser@lyft.com\"\n}\n```\n\nEverything except `auth0Username` and `auth0Password` should match your app's existing Auth0 settings.\n\n`auth0Username` and `auth0Password` are the email and password of the test user you created in step 3.\n\n### Step 5: Configure Auth0\n\n**Step 5.1**: Go to your Auth0 Application settings and enable the `Password` Grant Type:\n\n![auth0-grant-types](https://user-images.githubusercontent.com/4495352/83317105-6fed3780-a1f8-11ea-8d86-192e7e25f84b.jpg)\n\n**Step 5.2**: Go to your [Auth0 tenant's settings](https://manage.auth0.com/#/tenant) (make sure tenant name is correct in top-left of the page) and set the default directory to `Username-Password-Authentication`:\n\n![auth0-default-directory](https://user-images.githubusercontent.com/4495352/83317130-898e7f00-a1f8-11ea-9a19-0386e06ef4fb.jpg)\n\nIf you have changed the name of your default directory (i.e. your tenant's default database name), you should replace `Username-Password-Authentication` with your database's name, as it's shown in the Auth0 UI. Click on 'databases' in the sidebar of the Auth0 dashboard to view your database(s).\n\n**Step 5.3**: Add your cypress port URL (e.g. `http://localhost:3001`) to your Auth0 Application's 'Allowed Origins (CORS)' list:\n\nIf you don't yet specify a port when you run Cypress you will need to add a port to your `cypress.json` file. For example:\n\n```json\n// cypress.json\n\n{\n  \"port\": 3001\n}\n```\n\nSometimes user report needing to add disable `chromeWebSecurity` in Cypress too:\n\n```json\n// cypress.json\n\n{\n  \"port\": 3001,\n  \"chromeWebSecurity\": false\n}\n```\n\n## Usage\n\nThe following commands are now available in your test suite:\n\n- [login()](#login)\n- [logout()](#logout)\n\n### login()\n\n| Property | Type | Default value | Required? |\n|------|------|------|------|\n| `credentials` | `Object` | None | No |\n| &nbsp;&nbsp;&nbsp;&nbsp;`credentials.username` | `String` | `Cypress.env('auth0Username')` | No |\n| &nbsp;&nbsp;&nbsp;&nbsp;`credentials.password` | `String` | `Cypress.env('auth0Password')` | No |\n\n\nCall login at the start of a test. For example:\n\n```js\ncontext('Logging in', () => {\n  it('should login', () => {\n    cy.login().then(() => {\n\n      // Now run your test...\n      cy.request('/api/me').then(({ body: user }) => {\n        expect(user.email).to.equal(Cypress.env('auth0Username'));\n      });\n    });\n  });\n});\n```\n\nOr in a `beforeEach()` loop. For example:\n\n```js\ncontext('Logging in', () => {\n\n  beforeEach(() => {\n    cy.login();\n  })\n\n  it('should login', () => {\n    cy.request('/api/me').then(({ body: user }) => {\n      expect(user.email).to.equal(Cypress.env('auth0Username'));\n    });\n  });\n});\n```\n\nYou can also pass `credentials` to `login()`:\n\n```js\ncontext('Logging in', () => {\n  it('should login', () => {\n    cy.login({\n      username: 'anothertestuser@lyft.com',\n      password: 'mygreatpassword',\n    }).then(() => {\n\n      // Now run your test...\n      cy.request('/api/me').then(({ body: user }) => {\n        expect(user.email).to.equal(Cypress.env('auth0Username'));\n      });\n    });\n  });\n});\n```\n\nIf you want multiple test users, it's recommended to include their credentials in `cypress.env.json` rather than in your source code.\n\n### logout()\n\n```js\ncy.logout();\n```\n\n| Property | Type | Default value | Required? |\n|------|------|------|------|\n| `returnTo` | `String` | None | No |\n\nCall `logout()` anywhere in a test. For example:\n\n```js\ncontext('Logging out', () => {\n\n  it('should logout', () => {\n    cy.login().then(() => {\n      cy.visit('/');\n\n      cy.request('/api/me').then(({ body: user }) => {\n        expect(user.email).to.equal(Cypress.env('auth0Username'));\n      });\n\n      cy.logout();\n\n      cy.request('/api/me', {\n        failOnStatusCode: false,\n      }).then((response) => {\n        expect(response.status).to.equal(401); // Assert user is logged out\n      });\n    });\n  });\n\n});\n```\n\nYou can pass a return URL to `logout()`, which the user will be taken to after a successful logout:\n\n```js\ncontext('Logging out', () => {\n\n  it('should logout', () => {\n    cy.login().then(() => {\n      cy.visit('/');\n\n      cy.logout('/thanks-for-visiting');\n    });\n  });\n});\n```\n\nYou may want to logout after every test:\n\n```js\n// cypress/support.index.js\n\nimport 'cypress-nextjs-auth0';\n\nbeforeEach(() => {\n  cy.logout();\n})\n```\n\n### Security considerations\n\n#### Use separate tenants\n\n[Auth0 recommends you use a separate tenant for each environment](https://auth0.com/docs/dev-lifecycle/setting-up-env) (e.g. `development`, `testing`, `production`, etc). This will help mitigate the risk of creating test users.\n\nTherefore, if you don't have a dedicated tenant for your `testing` environment, it's recommended you create a new tenant and update its setting to match your `development` environment before following [the installation steps](#installation).\n\n#### Storing credentials\n\nPut test credentials in `cypress.env.json` or a similar place that you can keep out of source control.\n\nIf you use `cypress.env.json`, add the file to your `.gitignore` and `.npmignore` files as follows:\n\n```sh\n# .gitignore\n\ncypress.env.json\n```\n\n#### Continuous integration\n\nIf you use a platform for some of all of CI, like [Travis](https://travis-ci.org/), you will need to keep any sensitive data outside your test logs.\n\nFor [more info on how to prevent 'leaky' Travis logs, see here](https://docs.travis-ci.com/user/best-practices-security/).\n\n## Contributing\n\nTo contribute to this addon, clone the repo:\n\n```sh\ngit clone https://github.com/sir-dunxalot/cypress-nextjs-auth0.git\n```\n\nInstall dependencies:\n\n```sh\nyarn install\n```\n\nRun the dummy app server:\n\n```sh\nyarn dev\n```\n\nFinally, run the test suite (while the dummy app server is running):\n\n```sh\nyarn test:ui # or yarn test:headless for no UI\n```\n\nTo run the test suites locally you will need to pass some environment variables to Next.js and Cypress...\n\nThe easiest way to do this is to add the following two files (they're excluded from source control), but you can also pass their contained environment variables in another way (e.g. `export CYPRESS_auth0ClientId=FNfof292fnNFwveldfg9222rf`):\n\n- `cypress.env.json`\n- `cypress/dummy/.env`\n\nTo get values for these environment variables you can:\n\n- Open an PR and then ask @sir-dunxalot to share test credentials\n- Use values from your own Auth0 test tenant and app (since these files are not check in to source control)\n- Create a new (free tier) tenant and application in Auth0 and set it up as documented in [the installation steps](#installation)\n\nIf you use your own Auth0 tenant, notice that you need two test users (for `auth0Username` and `auth0UsernameAlt`).\n\nHere are the Cypress environment variables (e.g. in `cypress.env.json`):\n\n```json\n// cypress.env.json\n\n{\n  \"auth0Audience\": \"https://lyft.auth0.com/api/v2/\",\n  \"auth0Domain\": \"lyft.auth0.com\",\n  \"auth0ClientId\": \"FNfof292fnNFwveldfg9222rf\",\n  \"auth0ClientSecret\": \"FNo3i9f2fbFOdFH8f2fhsooi496bw4uGDif3oDd9fmsS18dDn\",\n  \"auth0CookieSecret\": \"DB208FHFQJFNNA28F0N1F8SBNF8B20FBA0BXSD29SSJAGSL12D9922929D\",\n  \"auth0Password\": \"mysupersecurepassword\",\n  \"auth0PasswordAlt\": \"anothersupersecurepassword\",\n  \"auth0Scope\": \"openid profile email\",\n  \"auth0SessionCookieName\": \"appSession\",\n  \"auth0Username\": \"testuser@lyft.com\",\n  \"auth0UsernameAlt\": \"testuser@lyft.com\"\n}\n```\n\nHere are the Next.js app variables (e.g. in `cypress/dummy/.env`).\n\n```sh\n# cypress/dummy/.env\n\nAUTH0_CLIENT_SECRET='FNo3i9f2fbFOdFH8f2fhsooi496bw4uGDif3oDd9fmsS18dDn'\nAUTH0_SECRET='DB208FHFQJFNNA28F0N1F8SBNF8B20FBA0BXSD29SSJAGSL12D9922929D'\n\nAUTH0_CLIENT_ID='FNfof292fnNFwveldfg9222rf'\nAUTH0_AUDIENCE='https://lyft.auth0.com/api/v2/'\nAUTH0_SCOPE='openid profile email'\nAUTH0_ISSUER_BASE_URL='https://lyft.auth0.com'\nAUTH0_BASE_URL='http://localhost:3000'\n```\n\nWhen you open a PR or push to a branch of this repo, Travis will run tests. You don't need to worry about adding environment variables since they've been added as [Travis environment variables](https://docs.travis-ci.com/user/environment-variables/) already.\n\n\n## Releasing\n\nProject collaborators will build the project and release it using the `yarn release` command, which passes any params to [the release-it package](https://github.com/release-it/release-it/).\n\nFor example:\n\n```sh\nyarn release patch # e.g. 1.0.0 --> 1.0.1\nyarn release minor # e.g. 1.0.0 --> 1.1.0\nyarn release major # e.g. 1.0.0 --> 2.0.0\nyarn release 1.2.4 # e.g. 1.0.0 --> 1.2.4\n```\n","readmeFilename":"README.md"}