Expose method to clear auth sessions on API resource

Hi, wondering if anyone has figured out how to invalidate custom auth sessions. For reference, I'm talking about the custom auth functionality documented here: Custom API authentication and using the bearer token auth method.

It appears that the token acquired by the auth resource is stored on Retool's servers and not on the users' browsers. Is there a way to clear this saved token?

1 Like

Bumping this one to the top. It would be useful to be able to clear the token when testing components that render based on auth state.

1 Like

Same needs here; need to clear out session to test auth flow in app

1 Like