<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
0D50Z00008C3jTUSAZOkta Classic EngineLifecycle ManagementAnswered2024-05-03T19:59:51.000Z2016-04-14T13:55:04.000Z2017-08-08T14:15:47.000Z
OktaS.21810 likes this.
  • OktaS.21810 (Customer)

    Hi, Thanks. And it’s documented in the support.okta.com ? Regards,
  • OktaS.21810 (Customer)

    On this page, the only reference to regex is: isMemberOfGroupNameRegex and no doc on how to use regex with Okta attribute mapping. Can you advise?
  • OktaS.21810 (Customer)

    And how to use regex in attribute mapping? e.g. for the okta login mapping? Regards, Thibault Crevel
  • Issac Brumer (Customer)

    If I want to test an attribute against a regex in attribute mapping (in the tertiary expression) to insure that it's yyyy-mm-dd, what's the syntax? For example, I want to check if a certain field is in ISO date format /(\d{4})-(\d{2})-(\d{2})/ how do I form the tertiary expression, e.g., 

     

    user.hireDate regex '/^(\d{4})-(\d{2})-(\d{2})$/' ? user.hireDate : null
    Expand Post
  • e0l2m (e0l2m)

    I agree with Thibault, there is no real documentation on regex other than the fact that it can be used in "some capacity". I say some capacity because we are left guessing as to which flavor of regex can be used, for example, I am trying to create a group filter value of type regex, and I'm able to do it, but I'm having to fumble through. If there was even a link to a regex spec we could use it would be great. 

     

    Thanks
    Expand Post
This question is closed.
Loading
Is regex supported in Okta's Expression Language?