File tree 1 file changed +3
-1
lines changed
readthedocs/templates/socialaccount/snippets
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
{% if provider.id != 'saml' %}
12
12
{% if allowed_providers and provider.id in allowed_providers or not allowed_providers %}
13
13
< li >
14
- < form action ="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params next=next %} " method ="post ">
14
+ {# Bitbucket doesn't allow more than one callback URL for their OAuth app, so we are redirecting users to the new dashboard for now. #}
15
+ < form method ="{% if provider.id == "bitbucket_oauth2 " %}get{% else %}post{% endif %}"
16
+ action="{% if provider.id == "bitbucket_oauth2 " %}https://app.{{ PRODUCTION_DOMAIN }}{% endif %}{% provider_login_url provider.id process=process scope =scope auth_params =auth_params next =next %} ">
15
17
{% csrf_token %}
16
18
< button
17
19
class ="socialaccount-provider {{ provider.id }} button "
You can’t perform that action at this time.
0 commit comments