Skip to content

Conversation

@valt-x
Copy link
Contributor

@valt-x valt-x commented Nov 30, 2025

Adds update_auth/2 and :auth option for invoke/3 to support token rotation like JS client's setAuth(). Closes #3

- Add timeout option to Supabase.Functions.invoke/3
- Support for custom timeout values (defaults to 15 seconds)
- Pass timeout to underlying HTTP client via receive_timeout option
- Maintain backward compatibility with existing API
- Add comprehensive tests for timeout functionality
- Update documentation with timeout examples

Resolves supabase-community#4
Adds update_auth/2 and :auth option for invoke/3 to support token rotation like JS client's setAuth(). Closes supabase-community#3
@zoedsoupe
Copy link
Member

hey! you need to merge latest changes on main so we can solve these conflicts

then i could review it better

@valt-x
Copy link
Contributor Author

valt-x commented Dec 1, 2025

Oh , ok I closed this push it as new pr

@valt-x valt-x closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dynamic auth token updates

2 participants