How does Cup exchange Apple's authorization code and revoke Apple tokens from a Cloudflare Worker?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 53/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- authentication
Research direction
Start by locating the Cloudflare Worker’s Sign in with Apple flow and its use of jose; the issue does not name specific files or tests. Document how /auth/token and /auth/revoke work, which client ID applies to each flow, token lifetimes and single use, revocation effects, and server-to-server notification setup and verification.
Written by the indexing model from the issue text.
Description
Question
What a Cloudflare Worker needs to exchange a Sign in with Apple authorization code for a refresh token and later revoke it: Apple's /auth/token and /auth/revoke REST endpoints, the ES256 client secret signed with the Sign in with Apple key (with jose), which client ID applies to codes from the native sheet versus the web flow, the code's lifetime and single use, refresh-token lifetime, what revocation does to the user's Apple ID settings, and how server-to-server notifications are registered, signed and verified.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from patricktree/cup
-
wayfinder:grilling
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
patricktree/cup#484 ·
-
wayfinder:grilling
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
patricktree/cup#487 ·
-
wayfinder:grilling
Difficulty 5/5 Over a week Newbie friendliness 25/100
patricktree/cup#486 ·
-
wayfinder:grilling
Difficulty 5/5 Over a week Newbie friendliness 25/100
patricktree/cup#485 ·
-
wayfinder:grilling
Difficulty 5/5 Over a week Newbie friendliness 25/100
patricktree/cup#483 ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#865 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
outline/outline#14638 · 1 comment ·
Maintainers usually reply within 1 day
-
bot:ai-assisted component:platform-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
midnightntwrk/platform-js#69 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day