diff --git a/cl/assets/templates/oauth2_provider/authorize.html b/cl/assets/templates/oauth2_provider/authorize.html new file mode 100644 index 0000000000..396f042069 --- /dev/null +++ b/cl/assets/templates/oauth2_provider/authorize.html @@ -0,0 +1,79 @@ +{% extends "base.html" %} + +{% block title %}{% if error %}Authorization error{% else %}Authorize {{ application.name }}{% endif %} – CourtListener.com{% endblock %} + +{% block privacy %} + +{% endblock %} + +{% block footer-scripts %}{% endblock %} +{% block sidebar %}{% endblock %} + +{% block content %} +
++ Signed in as {{ request.user.username }}. +
+ ++ The application {{ application.name }} is + requesting access to your CourtListener account. If you + approve, it will be able to: +
+ +
+ After you decide, you will be redirected to:
+
+ {{ form.redirect_uri.value }}
+
{{ error|escape }}
+ {% endfor %} + {% endif %} + + + {% else %} +We couldn’t complete this authorization request.
+
+ Error: {{ error.error }}
+ {% if error.description %}
+
Details: {{ error.description }}
+ {% endif %}
+
+ Try returning to the application that sent you here and + starting over. If the problem continues, please + contact us. +
+ {% endif %} +