<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
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