aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Authorize.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-08-13 17:24:48 -0700
committerzotlabs <mike@macgirvin.com>2018-08-13 17:24:48 -0700
commit4fdf5d28caa5d4af2bc6dfc088fdd51111baf390 (patch)
tree88611d8eb27c4e4501d6c5308d58f0e60f59440f /Zotlabs/Module/Authorize.php
parentdb1a546abaa82472bd9c8b402db6752e2a3869d0 (diff)
downloadvolse-hubzilla-4fdf5d28caa5d4af2bc6dfc088fdd51111baf390.tar.gz
volse-hubzilla-4fdf5d28caa5d4af2bc6dfc088fdd51111baf390.tar.bz2
volse-hubzilla-4fdf5d28caa5d4af2bc6dfc088fdd51111baf390.zip
minor oauth2 updates - renamed zot webbie to 'webfinger' and zothash to 'portable_id', fixed/simplified cgi auth mode
Diffstat (limited to 'Zotlabs/Module/Authorize.php')
-rw-r--r--Zotlabs/Module/Authorize.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Authorize.php b/Zotlabs/Module/Authorize.php
index e042848d8..265dea661 100644
--- a/Zotlabs/Module/Authorize.php
+++ b/Zotlabs/Module/Authorize.php
@@ -14,9 +14,9 @@ class Authorize extends \Zotlabs\Web\Controller {
// OpenID Connect Dynamic Client Registration 1.0 Client Metadata
// http://openid.net/specs/openid-connect-registration-1_0.html
$app = array(
- 'name' => (x($_REQUEST, 'client_name') ? urldecode($_REQUEST['client_name']) : t('Unknown App')),
- 'icon' => (x($_REQUEST, 'logo_uri') ? urldecode($_REQUEST['logo_uri']) : z_root() . '/images/icons/plugin.png'),
- 'url' => (x($_REQUEST, 'client_uri') ? urldecode($_REQUEST['client_uri']) : ''),
+ 'name' => (x($_REQUEST, 'client_id') ? $_REQUEST['client_id'] : t('Unknown App')),
+ 'icon' => (x($_REQUEST, 'logo_uri') ? $_REQUEST['logo_uri'] : z_root() . '/images/icons/plugin.png'),
+ 'url' => (x($_REQUEST, 'client_uri') ? $_REQUEST['client_uri'] : ''),
);
$o .= replace_macros(get_markup_template('oauth_authorize.tpl'), array(
'$title' => t('Authorize'),