<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
0D51Y00005lFAOpSAOOkta Classic EngineLifecycle ManagementAnswered2024-04-15T10:08:08.000Z2018-12-03T18:35:08.000Z2018-12-07T11:43:34.000Z

tzooi (tzooi) asked a question.

Writing a group rule

I am trying to write a rule so that the idpuser that gets created is assigned to a group. The user signs into Linkedin and linkedin sends an id token. I can see that the user gets created however the rule to provision the user to a group fails. Any ideas ?

 

My rule is : linkedin_idp.firstName != null

 

However, I get an error.


  • Hi,

     

    When using the group rules we unfortunately do not support the app profile data as this does not trigger profile updates unless it is being mapped to an attribute on the users Okta profile. As you are looking at firstName you can change the query to user.firstName != null

     

    However if these values are differing to those connecting from another source or you require a more specific identifier you can look at creating a custom attribute in the Okta profile via the profile editor (Admin --> Directory --> Profile Editor). Once the custom attribute is created you can then map the IDP profile attribute to this, again, via the profile editor and the mappings button for the IDP.

    Once this has been completed you will be able to use a group rule:

     

    user.[attributeName] == [value]

     

    Thanks,

    Chris Hancock

    Expand Post
This question is closed.
Loading
Writing a group rule