ARAP: bound retry and polling when no expiry is supplied

Open
#784 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
38/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Domain
api, documentation

Research direction

Read the retry, polling, and expiry rules for ARAP, especially the optional approved_until, task.expires_at, and the durable state described in #741 on main; also consult #663 and #745 for scope and independence. Determine which expiry governs each operation and what fallback deadlines or finite attempt budgets the specification should require across handoff. Done means the normative text clearly defines both bounds, their persistence across processes, and behavior when task.expires_at is absent.

Written by the indexing model from the issue text.

Description

access-requests

Split out of #663, problem 3.

Problem

Retrying stops "once the approval expires" without saying whether the Approval Result's approved_until or a PDP-returned expiry governs. Polling stops at task.expires_at, which is OPTIONAL, with no rule for its absence, so a naive PEP polls indefinitely.

Recommendation

Name the governing expiry for retries. Give retry and re-request finite attempt budgets. Stop polling at task.expires_at, or at a configured deadline or budget where that member is absent.

Cost

All three bounds MUST survive handoff, which is durable cross-process state, and no baseline value is given, so two conformant PEPs may differ arbitrarily.

Status

#741, on main, independent of #745.

Dominant language
TypeScript
Stars
170
Forks
46
Avg merge
18h 5m
Merged PRs (30d)
43

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 openid/authzen

All issues in openid/authzen

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.