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', ...)
}

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 27, 2026
@ShantKhatri ShantKhatri requested a review from Harxhit June 6, 2026 17:12

@Harxhit Harxhit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address lint error.

@Ridanshi Ridanshi force-pushed the fix/dev-login-production-gating branch from 8db81ee to d9d69b8 Compare June 8, 2026 19:28
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

@Ridanshi is attempting to deploy a commit to the Prashantkumar Khatri's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

CI — Checks Failed

Backend — FAIL

Check Result
Lint PASS
Test PASS
Typecheck FAIL

Mobile — SKIP

Check Result
Lint -
Test -

Web — SKIP

Check Result
Check -
Build -

Last updated: Mon, 08 Jun 2026 19:29:00 GMT

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

Labels

gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants