Obtaining OAuth access tokens from Retool Portals and authorising them on our backend


So Retool Portals looks nice - perfect timing for us - thanks for the efforts in getting it released.

Can you please help me understand; if we're using Retool as the identity provider instead of our own (which is the case with Retool Embed), how do we get the access token from retool to submit with our graphql request and then authenticate on our backend with Retool?



Hi Ben!

Great question. If you've set up OpenID SSO on Retool (available on Enterprise, for both cloud and self-hosted organizations), you can forward JWTs obtained from your identity provider into API requests made from applications. You can find the docs here. Let me know if this is how you're thinking about it.