misc: move configuration URLs to new lines in idp configuration infos (#72553)
This commit is contained in:
parent
9846a2e515
commit
c9d6ce0ffd
|
@ -3,6 +3,6 @@
|
|||
<strong>{% trans "Configuration information for your identity provider" %}</strong>
|
||||
<ul>
|
||||
{% filter urlize %}
|
||||
<li>{% trans "Redirect URI (redirect_uri):" %} {% absolute_url 'oidc-login-callback' %}</li>
|
||||
<li>{% trans "Redirect URI after logout (post_logout_redirect_uri):" %} {% absolute_url 'auth_logout' %}</li>
|
||||
<li>{% trans "Redirect URI (redirect_uri):" %}<br>{% absolute_url 'oidc-login-callback' %}</li>
|
||||
<li>{% trans "Redirect URI after logout (post_logout_redirect_uri):" %}<br>{% absolute_url 'auth_logout' %}</li>
|
||||
{% endfilter %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<strong>{% trans "Configuration information for your identity provider" %}</strong>
|
||||
<ul>
|
||||
{% filter urlize %}
|
||||
<li>{% trans "Metadata URL:" %} {% absolute_url 'mellon_metadata' %}</li>
|
||||
<li>{% trans "Metadata URL:" %}<br>{% absolute_url 'mellon_metadata' %}</li>
|
||||
{% endfilter %}
|
||||
{% if object and object.set_attribute_actions.all %}
|
||||
<li>{% trans "Expected attributes:" %}
|
||||
|
|
|
@ -746,7 +746,7 @@ def test_authenticators_configuration_info(app, superuser, ou1, ou2):
|
|||
|
||||
# saml
|
||||
assert (
|
||||
'Metadata URL: <a href="https://testserver/accounts/saml/metadata/" rel="nofollow">'
|
||||
'Metadata URL:<br><a href="https://testserver/accounts/saml/metadata/" rel="nofollow">'
|
||||
'https://testserver/accounts/saml/metadata/</a>'
|
||||
) in resp.text
|
||||
assert 'Commonly expected attributes:' in resp.text
|
||||
|
@ -771,10 +771,10 @@ def test_authenticators_configuration_info(app, superuser, ou1, ou2):
|
|||
for url in ('/manage/authenticators/add/', '/manage/authenticators/%s/detail/' % authenticator.pk):
|
||||
resp = app.get(url)
|
||||
assert (
|
||||
'Redirect URI (redirect_uri): <a href="https://testserver/accounts/oidc/callback/" '
|
||||
'Redirect URI (redirect_uri):<br><a href="https://testserver/accounts/oidc/callback/" '
|
||||
'rel="nofollow">https://testserver/accounts/oidc/callback/</a>'
|
||||
) in resp.text
|
||||
assert (
|
||||
'Redirect URI after logout (post_logout_redirect_uri): <a href="https://testserver/logout/" '
|
||||
'Redirect URI after logout (post_logout_redirect_uri):<br><a href="https://testserver/logout/" '
|
||||
'rel="nofollow">https://testserver/logout/</a>'
|
||||
) in resp.text
|
||||
|
|
Loading…
Reference in New Issue