modify default authentication user

230
0
05-11-2022 05:38 AM
Labels (3)
kvin
by
New Contributor II

Hello,
When I connect with OpenID Connect (OIDC) authentication, the user is created with these parameters:

user: {username: "John.Doe", id: "37906cf2eb4b44759c0e86420bdb1e7e", fullName: "XXX123",…}
access: "public"
adminCategories: []
created: 1652190436593
culture: null
cultureFormat: null
description: null
disabled: false
email: "John.Doe@cgdis.lu"
favGroupId: "bf0d2671bb1f4e0a93f25e40eefc949b"
fullName: "XXX123"
id: "37906cf2eb4b44759c0e86420bdb1e7e"
idpUsername: "XXX123"
lastLogin: 1652271019896
level: "1"
mfaEnabled: false
modified: 1652190436660
orgId: "0123456789ABCDEF"
preferredView: null
privileges: ["portal:user:joinGroup", "portal:user:viewOrgGroups", "portal:user:viewOrgItems",…]
provider: "oidc_pWIYTbw0IqxSa2S3"
region: null
role: "org_user"
roleId: "iAAAAAAAAAAAAAAA"
storageQuota: 10995116277760
storageUsage: 1384133806
tags: []
thumbnail: null
units: "metric"
userLicenseTypeId: "viewerUT"
userType: "arcgisonly"
username: "John.Doe"
validateUserProfile: true

 

Is it possible to modify the user connection file in order to invert the values of the fields:
fullName: "XXX123"
username: "John.Doe"

 

Kind Regards

0 Kudos
0 Replies