From 589ec37a32d8687d612eedd107748b7afadd07fd Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 11 Aug 2015 11:57:30 -0400 Subject: Bug 1190693 - Backport bug 1175643 to bmo for safer auth delegation --- template/en/default/global/user-error.html.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 4de3845d4..ffe1b6fa4 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -152,6 +152,15 @@ [% title = "Auth delegation can't be confirmed" %] Auth delegation cannot be confirmed due to missing or invalid token. + [% ELSIF error == "auth_delegation_json_error" %] + [% title = "Auth delegation received invalid JSON" %] + Auth delegation received an invalid JSON response from auth consumer: +
[% json_text FILTER html %]
+ + [% ELSIF error == "auth_delegation_post_error" %] + [% title = "Auth delegation received invalid status code" %] + Auth delegation received an HTTP response other than 200 OK from auth consumer. Code: [% code FILTER html %] + [% ELSIF error == "auth_failure" %] [% title = "Authorization Required" %] [% admindocslinks = {'groups.html' => 'Group Security'} %] -- cgit v1.2.3-24-g4f1b