Skip to content

fix(coinpay): log why a CoinPay code exchange failed - #43

Merged
ralyodio merged 1 commit into
masterfrom
fix/coinpay-log-failure
Nov 9, 2026
Merged

ralyodio merged 1 commit into
masterfrom
fix/coinpay-log-failure

Conversation

@ralyodio

@ralyodio ralyodio commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The CoinPay callback swallowed the exchange error, so /app/account?coinpay=failed left nothing in the logs. Now logs the token endpoint's status and OAuth error.

Root cause of the live failure was on the CoinPay side (client cp_924ea061… was confidential/non-legacy while tleehealth does public PKCE); fixed there by registering it as a public PKCE client.

🤖 Generated with Claude Code

The callback swallowed the error, so a token endpoint rejecting the client
(invalid_client after the CoinPay client stopped allowing secretless PKCE)
showed only 'CoinPay could not be connected' with nothing in the logs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 083cd9c into master Nov 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant