Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Scope of a custom variable

Hi All,

I have a question about the scope of a custom variable during the flow of the Proxy. I have a proxy in which i am using a custom variable to define the allowed role/scope for the flow. I am then calling a shared flow to read and validate the incoming JWT token.

What i am seeing is that once the flow execution jumps to the policies inside shared flow , the value of the custom variable is going to null. And when i then try to use the value later by fetching the value in a JS , it comes back as NULL, causing JS to give a run time error.

Can someone point to the documentation ,which states how the variable scope works for a custom variable inside a proxy flow.

Thanks

Chandra

0 6 295
6 REPLIES 6