From c874781931e854721da8e204cc8c266bb0eb6192 Mon Sep 17 00:00:00 2001 From: Michael Kuron Date: Sun, 20 Oct 2019 12:23:48 +0200 Subject: [PATCH] Add identifier to oauth profile This is needed for nextcloud --- data/web/oauth/profile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/data/web/oauth/profile.php b/data/web/oauth/profile.php index 2e2e41a2..fb33adfb 100644 --- a/data/web/oauth/profile.php +++ b/data/web/oauth/profile.php @@ -14,6 +14,7 @@ if (!empty($mailbox)) { echo json_encode(array( 'success' => true, 'username' => $token['user_id'], + 'identifier' => $token['user_id'], 'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''), 'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'), 'created' => (!empty($mailbox['created']) ? $mailbox['created'] : ''),