payloadcms / payload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
https://payloadcms.com
MIT License
22.29k stars 1.35k forks source link

Reset Password link redirects to sign-in page #6745

Closed kurt-waizmann closed 1 month ago

kurt-waizmann commented 1 month ago

Link to reproduction

No response

Payload Version

3.0.0-beta.43

Node Version

21.7.3

Next.js Version

14.3.0-canary.28

Describe the Bug

In the process of resetting my password, I receive an email like so. When clicking on the link as seen in the image below, you get redirected to the sign-in page. Screenshot_2024-06-12_at_10 03 57_AM

In devtools, there's a 404: Screenshot_2024-06-12_at_10 06 45_AM

Reproduction Steps

Reset your password as you normally would, and click on the link provided by the email

Adapters and Plugins

"dependencies": {
    "@faker-js/faker": "^8.4.1",
    "@miza-react/miza-react-components": "^6.7.0",
    "@payloadcms/db-mongodb": "3.0.0-beta.43",
    "@payloadcms/email-nodemailer": "3.0.0-beta.43",
    "@payloadcms/live-preview-react": "3.0.0-beta.43",
    "@payloadcms/next": "3.0.0-beta.43",
    "@payloadcms/plugin-cloud": "3.0.0-beta.43",
    "@payloadcms/plugin-form-builder": "3.0.0-beta.43",
    "@payloadcms/plugin-nested-docs": "^1.0.12",
    "@payloadcms/plugin-redirects": "^1.0.2",
    "@payloadcms/plugin-search": "3.0.0-beta.43",
    "@payloadcms/plugin-seo": "3.0.0-beta.43",
    "@payloadcms/richtext-lexical": "3.0.0-beta.43",
    "@payloadcms/ui": "3.0.0-beta.43",
    "@react-email/components": "0.0.18",
    "@react-email/render": "0.0.15",
    "cross-env": "^7.0.3",
    "escape-html": "^1.0.3",
    "graphql": "^16.8.1",
    "next": "14.3.0-canary.28",
    "nodemailer": "^6.9.13",
    "payload": "3.0.0-beta.43",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-email": "2.1.4",
    "sharp": "0.32.6",
    "slate": "^0.103.0",
    "tailwind-merge": "^2.3.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.3.0",
    "@commitlint/config-conventional": "^19.2.2",
    "@tailwindcss/forms": "^0.5.7",
    "@tailwindcss/typography": "^0.5.13",
    "@types/escape-html": "^1.0.4",
    "@types/node": "^20.11.25",
    "@types/nodemailer": "^6.4.15",
    "@types/react": "^18.2.64",
    "@types/react-dom": "^18.2.21",
    "@typescript-eslint/eslint-plugin": "^7.9.0",
    "@typescript-eslint/parser": "^7.9.0",
    "autoprefixer": "^10.4.19",
    "dotenv": "^16.4.5",
    "eslint": "^8",
    "eslint-config-next": "14.2.3",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-simple-import-sort": "^12.1.0",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.2",
    "postcss": "^8.4.38",
    "prettier": "^3.2.5",
    "standard-version": "^9.5.0",
    "tailwindcss": "3.3.2",
    "tsx": "^4.7.1",
    "typescript": "^5.4.2"
  }
JarrodMFlesch commented 1 month ago

Will be fixed in next beta release.

Related PR