Supabase v2 - Slack provider

I'm trying to update to v2 rc, and according to the this post: https://supabase.com/blog/supabase-js-v2#new-auth-methods

There are new auth methods. Which one is the correct one for the providers? I'm trying to use Slack as a provider.

Here is the old way:
async function signInWithSlack() { const { user, session, error } = await supabase.auth.signIn({ provider: "slack", }); }
Supabase
First peek of supabase-js v2, which focuses on quality-of-life improvements for developers.
Was this page helpful?