Add manual Micropub token generation for non-PKCE clients #132
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/manual-micropub-tokens"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/authauthorization flow (rejected with "code_challenge is required")./admin/tokens/create) to mint a Micropub token directly, reusing the existingTokenService, so it can be pasted into clients that support manual token entry instead of the IndieAuth flow.Test plan
./vendor/bin/sail test— full suite passes (376 tests), including 5 new tests forcreate/storeintests/Feature/Admin/TokensTest.php./vendor/bin/sail pint --test— cleannpm run build(eslint/stylelint/lightningcss/esbuild) — cleancreate updatescope, confirmed it's shown once and not on reload, confirmedcurl -H "Authorization: Bearer <token>" /api/postreturns 200 with the correctme/scope/client_id, and confirmed revoke still works🤖 Generated with Claude Code
https://claude.ai/code/session_017USyUg8PwuoDcHP8pv5xjy