Use Zitadel from Retool
Hi all, looking for some guidance on how to integrate Zitadel OAuth2 with a Retool app.
Retool allows you to use OAuth 2 compliant endpoints as resources, and say they will handle all the complexity of managing the OAuth2 flows on behalf of the user. Basically, user logs in to retool, then starts an app. While using the app, different resources including OAuth2 compliant resource providers are used to retrieve data that is served to the user. Retool as the middleman caches tokens (both access and refresh) on behalf of the user, and uses them when making queries.
my base setup:
Retool allows you to use OAuth 2 compliant endpoints as resources, and say they will handle all the complexity of managing the OAuth2 flows on behalf of the user. Basically, user logs in to retool, then starts an app. While using the app, different resources including OAuth2 compliant resource providers are used to retrieve data that is served to the user. Retool as the middleman caches tokens (both access and refresh) on behalf of the user, and uses them when making queries.
my base setup:
- a project (TEST-PROJECT)
- A Web app for the user interface (TEST-APP)
2.a App uses JWT token
2.b has refresh token
2.c Added Retool URI to redirect/post logout URI's - An API app to represent the resource provider (TEST-PROVIDER)
- I am using the introspection endpoint for verification,
/oauth/v2/introspect - I need a static client Id and Client Secret to be used by Retool when calling the introspect endpoint. I'm not sure how to configure that, while still allowing the user to use a user specific JWT token.
scopes: openId profile email offline_access urn:zitadel:iam:org:project🆔XXXXXXXXXXXXXX:aud
