Skip to content

Social register doesn't work for me #1093

@iurisilvio

Description

@iurisilvio

I installed sentry in my server and enabled Bitbucket social auth.

I'm using almost the default configurations, only defined BITBUCKET_CONSUMER_KEY and BITBUCKET_CONSUMER_SECRET (based on https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket), changed database configuration to use postgres, defined SENTRY_URL_PREFIX='http://localhost' (it is running behind a nginx reverse proxy) and ALLOWED_HOSTS.

Also, I tried to set SOCIAL_AUTH_CREATE_USERS = True, but it is the default value.

In /register/, I click on "Sign in with Bitbucket", it authenticate with Bitbucket and redirect to /account/settings/social/complete/bitbucket/?oauth_verifier=...&oauth_token=... (I redacted oauth parameters), so I guess it is . This route redirect me to /login/.

Is it expected? What I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions