diff --git a/index.php b/index.php index fae386f..f8b90bb 100644 --- a/index.php +++ b/index.php @@ -309,8 +309,10 @@ function base64_url_decode($string) } else { $final_redir .= '&'; } + $issuer = 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . $_SERVER['HTTP_HOST']; $parameters = array( 'code' => $code, + 'iss' => $issuer, 'me' => USER_URL ); if ($state !== null) {