Compare commits

..

2 Commits

Author SHA1 Message Date
7c0ebe6668
fix url passed to 'redirect_after_login'
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-04-11 19:06:22 +02:00
6eb54a6f11
make oauth endpoints openid compliant 2023-04-11 19:06:22 +02:00

View File

@ -163,7 +163,7 @@ class OAuthController
{
$userInfo = [];
if (in_array('openid', $scope)) {
$userInfo['sub'] = $user->getId();
$userInfo['sub'] = (string)$user->getId();
}
if (in_array('email', $scope)) {
$userInfo['email'] = $user->getEmail();