<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00007OSLlnCAHOkta Classic EngineAuthenticationAnswered2022-01-20T16:36:02.000Z2022-01-18T18:17:59.000Z2022-01-20T16:36:02.000Z

GopaK.04276 (Customer) asked a question.

Expression Language: Claims - Don't send empty attributes

Hi,

 

So lets say I have a string attribute user.foobar which might be empty (empty string or nil whatever denotes emptiness), and I don't want to send that in the id token unless it has a non-empty value. Is that even possible ? I couldnt see how it can be done (if it can be) from the EL docs, highly appreciated if anyone knows how to do it and can share it here

 

Rgds,

Gopa.


This question is closed.
Loading
Expression Language: Claims - Don't send empty attributes
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply