Skip to content

[BUG]: Password policy rejects sequential characters with no option to disable #5177

Description

@KKNithin

🐞 Bug Summary

Password policy rejects valid passwords containing sequential characters (e.g., "123", "abc") with no option to disable this check.


🧩 Affected Component

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Attempt to set a password containing sequential characters (e.g., "Pass123word!" or "Abcd!Password1")
  2. Password validation fails with error: "Password contains too many sequential characters"
  3. No configuration option exists to disable this validation rule

🤔 Expected Behavior

There should be a configuration option to disable the sequential character check for environments where this restriction is not required or conflicts with existing password policies.


📓 Logs / Error Output

{
  "detail": "Password contains too many sequential characters"
}

Metadata

Metadata

Labels

bugSomething isn't workingtriageIssues / Features awaiting triage

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions