Open moneymanolis opened 1 year ago
"Solution" suggestion: The linking of the account / integration seems to work fine if the user is logged in before he hits the “Link your account” button. Until the above issues are fixed, we could at least add an info box in the UI to inform the user that the integration only works reliably if he manually logs in first. @moritzwietersheim
I can not confirm the suggestion.
https://api.swanbitcoin.com/oidc/auth?client_id=specter&redirect_uri=http://localhost:25441/svc/swan/oauth2/callback&response_type=code&response_mode=query&code_challenge=<redacted>&code_challenge_method=S256&state=<redacted>&scope=offline_access%20v1%20write:vendor_wallet%20read:vendor_wallet%20write:automatic_withdrawal%20read:automatic_withdrawal&prompt=consent
redirectTo
parameter. Without it, the link just leads the user to login and the flow breaks.redirectTo
parameter, the flow breaks at theoauth/consent
endpoint.You cannot approve the scope and you are not redirected back to the redirect URI specified in the original OAuth2 URL (back to Specter). However, the user still gets logged in. If he tries again to link the account in Specter the flow works.