prongs
GitHub

auth.signin

A sign-in with the wrong email or password

Profile

Raised with

Status

401

Message

generic
Read https://www.prongs.dev/docs/intents/auth/signin.md and tell me whether auth.signin fits what I am building.

Example

TS
return fail('auth.signin');
The caller gets
Terminal
HTTP 401

{
"ok": false,
"error": "Wrong email or password.",
"code": "auth.signin"
}
And it writes security.signin
TS
{
"intent": "security.signin",
"level": "warn",
"alert": false,
"message": "Wrong email or password.",
"data": {
"intent": "auth.signin"
},
"time": "2026-10-09T12:00:00.000Z"
}

Connections

Choosing between neighbours

  • If it is

    Use

  • A sign-in with the wrong email or password

    auth.signin
  • A bad API token, webhook signature or preview secret

    auth.invalid
  • A wrong email or password at sign-in

    rather than auth.invalid
    auth.signin

For registry authors

Starter intents. These are the intents prongs add errors puts in your registry, raised with fail(). Change the messages to suit your app, and the statuses through the status.* intents they are built from.

The entry prongs add errors writes into your registry. Change the message here, or the status through its status.* ref.

TS
'auth.signin': {
kind: 'semantic',
description: 'A sign-in with the wrong email or password',
refs: ['status.unauthorized'],
binding: {
publicMessage: 'Wrong email or password.',
expose: 'generic',
logs: 'security.signin',
},
notFor: [
{
context: 'a bad API token, webhook signature or preview secret',
instead: 'auth.invalid',
},
],
},