You won't believe this refresh auth flow bug! (VIDEO)

Here's a video of me describing the issue.

  1. My goal: Refresh access tokens automatically in the background.
  2. Issue: Custom auth refresh flow works, but does not execute when expected
  3. Steps I've taken to troubleshoot:
  • Read documentation here scrupulously
  • Messed around with custom auth + refresh flow resource settings
  • Played with refresh flow timing settings.
  • Tried using auth login button to get it to trigger.
  1. Additional info: See Loom video above
3 Likes

+1

+1

I've reproduced this issue and it definitely appears to be a bug with the OpenAPI resource connector, in particular, as the refresh flow reliably triggers on a similarly configured REST API resource. I also confirmed that the refresh flow always triggers after a failed query run, so you can think of the below dropdown as defining an additional trigger.

I've documented the issue internally and will follow up here as soon as I have news to share. While not ideal, refactoring this as a REST API resource should be a functional workaround. Let me know if you have any questions and I look forward to seeing you in Office Hours going forward!

1 Like

That's super helpful Darren. Thank you for the follow up and validation of the issue. Also for confirming the behaviour of refresh auth triggers, as that was unclear to me.

Unfortunately there's no scenario I'll refactor this as a REST API. It's just so much additional work compared to using openapi spec to autogenerate endpoints. I'll be eagerly awaiting word from you on this :slight_smile:

1 Like