Calling REST API with users' credentials

I have a REST API that requires username and password in header to authenticate, and I'm wondering if there's a way to have each app user enter their credentials when calling the API? (Let's ignore the fact that this is not safe - unfortunately I don't have another option at the moment)

Specifically I'm using this API in app through a workflow, and I'm hoping there could be something like a popup shown for the user to enter their credentials if they haven't authenticated. From the second time forward, Retool would re-use their unique credentials in API calls.

I thought custom auth was the solution, but what I tested out it's using my credential (first person to authenticate with the API resource). I could be setting this up incorrectly, but if anyone has an idea that would be great!

bump for visibility

Sorry for the delay, @Jim_Okada! I have some ideas that I'll put down in writing, but this might be an interesting use case to discuss during Office Hours, as well, if the timing works.

Hey thanks for getting back, unfortunately Office Hours is 4AM here so won’t work :sweat_smile:

Happy to chat here or via Slack/email etc