-
My goal:
-
Issue:
-
Steps I've taken to troubleshoot:
-
Additional info: (Cloud or Self-hosted, Screenshots)
-
My goal:
Connect 2 user types that I’ve created for my client’s WordPress ecommerce site to provide dashboards via ReTool inside their “My Account” page. The number of users are unkown for each type. Possibly unlimited. -
Issue:
After I’ve built a custom WordPress plugin to create API endpoints to allow ReTool access for JavaScript queries, I found out that just simply embedding the dashboard cross-domain is an issue. I get 401 errors everywhere.I tried setting up a resource with Basic Auth using an API user and password for testing purposes, and even that setup let me see the dashboard queries even when I’m logged in as the same user I used to set up the resource.
-
Step I’ve taken to troubleshoot:
I did some research and found that instead of relying on a single embed, I would have to embed using Retool “external user” sessions and pass your WordPress user context into Retool so each Rep/Dealer is authorized dynamically.That would include things like:
Retool documents this exact flow: your backend generates a single-use embed URL by POSTing to /api/embed-url/external-user with landingPageUuid + groupIds (+ optional metadata).The first step was to create a “user group” for each user in ReTool, which I’m unable to do with my client’s current “Teams” plan.
-
I would like to know if any of this is even possible in our current plan or if we are forced to upgrade to enterprise, or, if this type of setup is even possible with ReTool.
I would really appreciate a solution for this. Any help would be amazing. Thank you.