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

Coinbase login - 403 Forbidden #369

Open
pbeneteau opened this issue May 8, 2022 · 0 comments
Open

Coinbase login - 403 Forbidden #369

pbeneteau opened this issue May 8, 2022 · 0 comments

Comments

@pbeneteau
Copy link

pbeneteau commented May 8, 2022

I'm getting this error after Coinbase redirects to this backend URI:

http://myapp.com/api/v1/auth/complete/coinbase/?code=abcdefghijiksdnsdjksbdkjdsbfjkdsbfkds&state=KRoYpE8cBtRgCgWirSUireNDzjcaChK

HTTPError at /api/v1/auth/complete/coinbase/
403 Client Error: Forbidden for url: https://api.coinbase.com/v2/user

I've tried with different scopes, I created a new app, I also tried on localhost or on dev environment with HTTPS, but I'm still getting this error.

Here is my scopes definition:

SOCIAL_AUTH_COINBASE_SCOPE = ['wallet:accounts:read', 'wallet:addresses:read', 'wallet:buys:read',
                              'wallet:deposits:read', 'wallet:sells:read', 'wallet:transactions:read',
                              'wallet:user:read', 'wallet:withdrawals:read', 'wallet:user:email']
SOCIAL_AUTH_COINBASE_AUTH_EXTRA_ARGUMENTS = {'account': 'all'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant