<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008C3jozSABOkta Classic EngineOkta Integration NetworkAnswered2024-11-03T09:02:45.000Z2015-10-28T03:57:29.000Z2020-02-14T11:18:15.000Z
Custom Application username Creation
Hi All,  I'm logging this as a feature request just wondering if anyone else had tried.

 

We have an internal application where I'm trying to customise the username to use our EmployeeNumber field from AD.

 

The synch from AD into the Okta profile is working and the EmployeeNumnber is listed in the Okta profile but when I try to create a custom username and reference the "employeeNumber" it can't find it.

 

Seems the only attributes a custom username can use are the defaults they list??  can anyone confirm this ??

 

Cheers

 


  • j5v7c (j5v7c)

    Yes this is possible if you override the application username value in the profile editor (in UD). Go to Directory, Profile Editor, select you application, and then select Map Attributes. Make sure your on the tab that is mapping attribute values from "Okta to your application". Here you will see the option to override the application username value.

     

    Select this and map something like user.EmployeeNumber. You can then preview this lower down by selecting a user that has the EmployeeNumber already set, to make sure the value is going to be used correctly. Once confirmed select "Save mapping" and "Confirm Mapping".

     

    On the application sign-on tab where you would normally select a username value to use, just type in some static text like "Mapped from UD" so you know how the application username got set.

     

    And lastly, if you've already associated this application with one or more users, you'll need to unassign the application and then re-assign the application to make use of the custom application username now mapped.

    Expand Post
    Selected as Best
  • Raja Nejem - 1 (Okta, Inc.)

    You can select 'AD Employee ID' from the drop down for the username format.
  • 4pn6c (4pn6c)

    Thanks Raja,

    The issue is within our Okta Profile & AD attributes we have "EmployeeNumber" not Employee ID.

    Is there a way to add Employee number or have our AD Employee Number filed transfer to Employee ID somehow ?

     

    cheers
    Expand Post
  • j5v7c (j5v7c)

    Yes this is possible if you override the application username value in the profile editor (in UD). Go to Directory, Profile Editor, select you application, and then select Map Attributes. Make sure your on the tab that is mapping attribute values from "Okta to your application". Here you will see the option to override the application username value.

     

    Select this and map something like user.EmployeeNumber. You can then preview this lower down by selecting a user that has the EmployeeNumber already set, to make sure the value is going to be used correctly. Once confirmed select "Save mapping" and "Confirm Mapping".

     

    On the application sign-on tab where you would normally select a username value to use, just type in some static text like "Mapped from UD" so you know how the application username got set.

     

    And lastly, if you've already associated this application with one or more users, you'll need to unassign the application and then re-assign the application to make use of the custom application username now mapped.

    Expand Post
    Selected as Best
  • 4pn6c (4pn6c)

    brilliant - thanks and for anyone else if you want to edit the filed further youcan remove the first two characters using this...substring(user.employeeNumber, 2, 10)..eg - XX123456 becomes 123456
  • v392k (v392k)

    I am having a challenge here:  Our AD supports both three and four digit ID: say 4321 or 123 (for anyone less than 999, they use three digit ID).  OKTA is synced with our AD.  So, we some employees with four-digit and some with three-digit IDs. However, Our HR system Ultipro only supports 4 digit ID, so, for those with three-digit ID (say, 123), we make set them up 0123 as their ID in Ultipro system: For those who have four-digit ID, we can setup SSO for Ultipro without a problem

    For those who have four-digit ID, we have a problem since the ID (say 123) can't auto change to 4-digit in Ultipro  So, the question is:  How I can add that extra 0 to the three-digit ID (123) to become 0123

    Any help or suggestion is appreciatted.  

     

    --Randy
    Expand Post
  • 8bnrj (8bnrj)

    The "override with mapping" option is missing from Okta to app mapping tab for my application's profile mappings. I am trying to send my samaccountname instead of okta username.

This question is closed.
Loading
Custom Application username Creation