Pass access token to connector after authentication

Hello everyone!
I have enabled OIDC authentication on hue application and I would like to use Trino as data connector. Trino is also protected by OIDC authentication. How can I pass oidc_access_token to trino connector? I checked the code and Hue is storing oidc_access_token in session. How can I configure trino to use access_token?
This is how Trino is configured:

[[[presto]]]
name=Trino
interface=sqlalchemy
options=’{“url”: “trino://trinoserver:443/hive?accessToken=oidc_access_token”, “connect_args”:"{“protocol”: “https”}"}’
This oidc_access_token should be replaced from session etc. Is there a way to do so?

Thanks