<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
0D50Z00008G7VXgSANOkta Classic EngineOkta Integration NetworkAnswered2018-09-05T01:27:58.000Z2015-09-25T13:41:35.000Z2016-08-08T18:47:08.000Z
SAML 2.0 Template Application - Application username format with custom formula
I'm using the SAML 2.0 Template and have created a custom formula for the Application Username.  It looks like the template doesn't send this.  Is that expected?

 

Formula:

${f:toLowerCase(user.firstName)}.${f:toLowerCase(user.lastName)}@domain

 

The assertion is sent with the okta username.

  • Thomas Kirk (Okta, Inc.)

    If the application was already assigned to a user before the change was made, you will need to un-assign the app and re-assign. The change in username mapping doesn't update the existing assignments username field.

     

    Thomas Kirk, Technical Consultant, Okta
  • Thanks.  I'll try that.
  • lyork1.3826521035987554E12 (Emerging Product Acceleration)

    Hi Michael, Your formula appears to be correct.

     

    I'm not sure if you are testing with a new app or updating an existing one but here are a few suggestions.

     

    First, I would double check that you are indeed hitting the correct application where you defined the custom expression. This is sometime an easy mistake to make.

     

    Next, you may also want to check that the Application username is not being overwritten in the Profile Editor. Go to Directory > Profile Editor > Profile Mappings > {{Appplication}} > Okta to {{Application}} and check to see if the username is being overriden. If it says "Username set by {{Application}}" then it is not being overriden. 

     

    Lawrence York, Sr. Technical Consultant, Okta
    Expand Post
This question is closed.
Loading
SAML 2.0 Template Application - Application username format with custom formula