specter-desktop
specter-desktop copied to clipboard
error: redirect_uri_mismatch
oops! something went wrong
error: redirect_uri_mismatch error_description: redirect_uri did not match any of the client's registered redirect_uris state: kjkmdskdmsmmsmdslmdlsm
OAuth with Swan is not working and throws a redirect_uri_mismatch
error instead.
Steps To Reproduce
- Log in to specter desktop, e.g. 'http://umbrel.local:25441'
- Click on '+ Choose plugins'
- Click on 'Swan'
- Click on 'Existing Swan users'
- Click on 'Link your account'
- New tab opens presenting the error shown in the screenshot
https://api.swanbitcoin.com/oidc/auth?client_id=specter&redirect_uri=http://umbrel.local:25441/svc/swan/oauth2/callback&response_type=code&response_mode=query&code_challenge=<redacted>&code_challenge_method=S256&state=kjkmdskdmsmmsmdslmdlsm&scope=offline_access%20v1%20write:vendor_wallet%20read:vendor_wallet%20write:automatic_withdrawal%20read:automatic_withdrawal&prompt=consent
Expected behavior This has worked at least once at some point in a version of specter desktop prior to updating to 1.13.1. I don't know exactly in which version this regression was introduced though. Auto-withdrawals from Swan to Specter had been working for this account for quite some time. Eventually the auto-withdrawal stopped working which is why I attempted to re-connect the plugin.
Screenshots
- Where is your node running: umbrel
- Where is your specter running: umbrel
- If you're running a binary, which OS: I don't think it matters, but I'm also running specterd hwibridge on macOS since I access specter remotely
- Browser: any, I tried Chrome, Brave, Safari and Edge
- Specter Version: 1.13.1