feat: pre-token and post-login hooks as HTTP callouts

Open
#419 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

The payload names no files or entry points, so start by locating the token issuance and login flow in the TypeScript codebase. Decide the hook contract first: request and response shape, how a claim is added, how a denial carries a reason, timeout behavior, and the fail-open or fail-closed setting. Done means a configured endpoint can add a claim or block a sign-in, with failures audited. Expect a design discussion before implementation.

Written by the indexing model from the issue text.

Description

easy P2 v0.23

Why

The Auth0 Actions equivalent, without running user code inside the auth server.

What

  • Call a configured HTTPS endpoint before token issue and after login
  • Can add claims or deny with a reason
  • Timeouts and a fail-open or fail-closed setting, audited

Done when

A hook can add a claim or block a sign-in, safely.

Dominant language
TypeScript
Stars
2
Forks
2
Avg merge
11h 40m
Merged PRs (30d)
104

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fells-code/seamless-auth-api

All issues in fells-code/seamless-auth-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.