Authentication requires a valid OAuth application to be registered with https://bitbucket.org.

Registered OAuth application ID/Secret will be visible only for user who created it.