Native app passkeys through the headless app client

Open
#185 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start with the passkey flows for the browser client in the work tracked by #117, then trace how the headless app client authenticates with a session token and how client origins are configured. Add and test passkey add, list, remove, and login flows for that client, and document the native app association files and where openpb.org serves them. Done means a passkey created on the web can authenticate a player through the native app API.

Written by the indexing model from the issue text.

Description

area:auth area:security enhancement priority:p2 size:S

Context: Split from #117. The MVP ships a PWA only (see #182), so #117 covers passkeys for the browser client. This issue adds what a native app needs once one is planned.

Tasks:

  • Passkey add, list, remove, and login through the headless app client (session token)
  • Allowed origins for the native apps in settings, with the relying party ID openpb.org from #117
  • Document the associated domains file (apple-app-site-association) and the asset links file (assetlinks.json) the apps need, and where openpb.org serves them
  • Tests for the app client flows

Acceptance criteria:

  • A player can sign in with a passkey from a native app through the headless API, using a passkey created on the web

Out of scope:

  • The native app screens (an app repository issue)

Depends on: #117

Size: S

Dominant language
Python
Stars
0
Forks
1
Avg merge
1h 7m
Merged PRs (30d)
206

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 openpickleball/backend

All issues in openpickleball/backend

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.