nedpals / supabase-go

Unofficial Supabase client library for Go.
https://pkg.go.dev/github.com/nedpals/supabase-go
MIT License
380 stars 73 forks source link

Feat: Added redirectTo parameter for ResetPasswordForEmail #56

Open EduartePaiva opened 4 months ago

EduartePaiva commented 4 months ago

According to supabase documentation: https://supabase.com/docs/guides/auth/passwords?queryGroups=language&language=js#resetting-a-password

this function have a extra parameter redirectTo, that is missing here, I added it trying to minimize things the best that I could.

If you specify an empty string "" in redirectTo parameter the old behavior before this change will happen.