supabase-community / gotrue-csharp

C# implementation of Supabase's GoTrue
https://supabase-community.github.io/gotrue-csharp/api/Supabase.Gotrue.Client.html
MIT License
39 stars 27 forks source link

VerifyOTP using token_hash #96

Closed tiagomn closed 3 months ago

tiagomn commented 5 months ago

Hi Guys

I've tried to find an equivalent method in c# to login using token_hash for recovery purposes. But I haven't found anything related to this piece of code in Javascript:

supabase.auth.verifyOtp({ token_hash: $scope.token_hash, type: 'recovery' }).then(({ data, error })

I would like to use this approach because we wouldn't need to use e-mail address, as we are worried about security issues.

acupofjose commented 3 months ago

Available in >= Supabase.Gotrue@5.0.6