diff --git a/data/web/oauth/profile.php b/data/web/oauth/profile.php index 4364c190..ff6b5833 100644 --- a/data/web/oauth/profile.php +++ b/data/web/oauth/profile.php @@ -15,6 +15,7 @@ if (!empty($mailbox)) { echo json_encode(array( 'success' => true, 'username' => $token['user_id'], + 'id' => $token['user_id'], 'identifier' => $token['user_id'], 'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''), 'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),