#30525·Ghost

Unable to reset admin password after key rotation

Author: hkrsmkCreated Sep 4, 2026Updated Sep 4, 2026
Labelsneeds:triage

Issue Summary

I'm unable to reset my password after using the key rotation feature in the admin panel.

I got a bunch of 504 errors and a message saying "There was a problem on the server. " or alternatively, when clicking "Forgot?" I get a slightly different message: "Request was rejected due to server error".

Steps to Reproduce

  1. Create an admin for a ghost website (only 1 admin for the website).
  2. Use the new feature from ghost admin front end to rotate the keys.
  3. Notice that while I am unable to sign in as the admin, I also get an error.
  4. Clicking "Forgot?" produces the same result.

Ghost Version

6.57.0

Node.js Version

22.23.0

How did you install Ghost?

Self install on Ubuntu

Database type

MySQL 8

Browser & OS version

Firefox on MacOS

Relevant log / error output

bash
Error: You are not authorised to make this request.

The error was for /ghost/api/admin/settings/ and ghost/api/admin/users/me/?include=roles

{"errors":[{"message":"Authorization failed","context":"Unable to determine the authenticated user or integration. Check that cookies are being passed through if using session authentication.","type":"NoPermissionError","details":null,"property":null,"help":null,"code":null,"id":"[redacted]","ghostErrorCode":null}]}


Furthermore, there were 504 errors for these endpoints:
- ghost/api/admin/authentication/password_reset/
- ghost/api/admin/session

Code of Conduct

  • I agree to be friendly and polite to people in this repository