From 07a68c6d4fa62432c9668176b4876133d45cce0e Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 24 Aug 2015 14:50:16 -0400 Subject: Bug 1175643 - Rewrite auth delegation to use a server-side POST instead of a client-side GET to delegate API Key r/a=dkl --- template/en/default/global/user-error.html.tmpl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'template') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 710928562..81d5055c6 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -140,6 +140,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