Managing flow context keys
Flow context can be managed in Expression policies via the context['flow_plan'].context
variable.
Here's an example of setting a key in an Expression policy:
context['flow_plan'].context['redirect_stage_target'] = 'ak-flow://redirected-authentication-flow'
And here's an example of removing that key:
context['flow_plan'].context.pop('redirect_stage_target', None)