Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117908417
D5610.1775393364.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
863 B
Referenced Files
None
Subscribers
None
D5610.1775393364.diff
View Options
diff --git a/src/app/Auth/OAuth.php b/src/app/Auth/OAuth.php
--- a/src/app/Auth/OAuth.php
+++ b/src/app/Auth/OAuth.php
@@ -127,7 +127,7 @@
{
$response = [
// Per OIDC spec. 'sub' must be always returned
- 'sub' => $user->id,
+ 'sub' => $user->getSetting('uid') ?: $user->id,
];
if ($user->tokenCan('email')) {
diff --git a/src/app/Console/Commands/Data/Import/LdifCommand.php b/src/app/Console/Commands/Data/Import/LdifCommand.php
--- a/src/app/Console/Commands/Data/Import/LdifCommand.php
+++ b/src/app/Console/Commands/Data/Import/LdifCommand.php
@@ -953,6 +953,7 @@
'mailalternateaddress' => 'external_email',
'mobile' => 'phone',
'o' => 'organization',
+ 'nsuniqueid' => 'uid',
// 'address' => 'billing_address'
];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 5, 12:49 PM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833479
Default Alt Text
D5610.1775393364.diff (863 B)
Attached To
Mode
D5610: SSO: Use (old) user identifier (if available)
Attached
Detach File
Event Timeline