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.
I don't believe we currently have a way to "call" an access token from a resource
We do have a way to pass Retool query data to a custom component though. Would that be helpful here? The instructions are in this section of the docs: https://docs.retool.com/docs/custom-components#pass-data-from-your-app-to-your-custom-component