Skip to content

fix(auth): gate dev-login from production registration#353

Open
Ridanshi wants to merge 1 commit into
Dev-Card:mainfrom
Ridanshi:fix/dev-login-production-gating
Open

fix(auth): gate dev-login from production registration#353
Ridanshi wants to merge 1 commit into
Dev-Card:mainfrom
Ridanshi:fix/dev-login-production-gating

Conversation

@Ridanshi
Copy link
Copy Markdown
Contributor

Closes #298

Summary

Adds focused regression coverage for /auth/dev-login production gating.

The underlying route guard already exists on latest upstream/main:

if (process.env.NODE_ENV !== 'production') {
  app.post('/dev-login', ...)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unauthenticated JWT issuance via /dev-login remains active in production

1 participant