fix: Use authorization endpoint for IndieAuth code verification (v0.9.4)

IndieAuth authentication-only flows should redeem the code at the
authorization endpoint, not the token endpoint. The token endpoint
is only for authorization flows that need access tokens.

- Remove grant_type parameter (only needed for token flows)
- Change endpoint from /token to /authorize
- Update debug logging to reflect code verification flow

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
philandClaude committed 2025-11-22 19:19:37 -07:00
1 parent cbef0c1561
commit a6f3fbaae4
5 files changed
+307 -8

No files matched your search

+2 -2
View File
@@ -153,5 +153,5 @@ def create_app(config=None):
# Package version (Semantic Versioning 2.0.0)
# See docs/standards/versioning-strategy.md for details
__version__ = "0.9.3"
__version_info__ = (0, 9, 3)
__version__ = "0.9.4"
__version_info__ = (0, 9, 4)