How to set Macro Config variables in Forge Custom UI resolver?

I have a forge custom UI React App.

Is there a way to create/set config variables in the forge custom UI resolver?

I want to set config variables in the context object for macro extensions.

https://developer.atlassian.com/platform/forge/runtime-reference/custom-ui-resolver/#define

UseCase- I want to save the username or account id to check the incoming request and send the appropriate response.

I want to achieve it without using the storage api

Example: set config.userEmail = ‘user email’

Thank you

Hi Karan

Will get an answer to you soon, just checking my own understanding with the team owning this stuff.