Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[api-v2-bug] The V2 API requires OAuth2 CB-2FA-Token even with OAuth2 is not used #16

Closed
brianddk opened this issue Apr 21, 2024 · 2 comments

Comments

@brianddk
Copy link
Owner

brianddk commented Apr 21, 2024

The /v2/accounts/:account_id/transactions "Send Money" endpoint requires CB-2FA-Token headers when CDP (v3) API keys are used. The documentation implies that these fields are only required for OAuth2 not for API Key authorizations.

This is a serious problem since it requires users to downgrade account security to Authy in order to use the API. It would be reasonable if account security could remain at "Security Key" levels and allow Authy codes to work in parallel on the API calls alone. But this is not the case. Perhaps this is because the API is mis-identifying the authentication method. If this is not a design error, but rather the intended use, there is a coinbase-python-py PR that adds this functionality.

@brianddk
Copy link
Owner Author

brianddk commented Apr 24, 2024

Should be fixed now pending retest

Still broke.

@brianddk
Copy link
Owner Author

brianddk commented May 1, 2024

Fixed via CB Support

@brianddk brianddk closed this as completed May 1, 2024
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

No branches or pull requests

1 participant