Need an access token from SSO in the custom component

Is there any way to get an access token from SSO outside the resource? We use a custom Retool component that uses a GraphiQl component, and it requires a "fetcher" prop which is expected to be a kinda API client. However, we can't pass a Retool query to a custom component. As a second option, we could use the native window's "fetch" with an access token, but it's impossible to get the token according to limitations.

Hi @rshnnk

I don't believe we currently have a way to "call" an access token from a resource :confused:

We do have a way to pass Retool query data to a custom component though. Would that be helpful here? :crossed_fingers: The instructions are in this section of the docs: