Closed dshukertjr closed 2 years ago
Currently, redirect_to parameter of the request method is being URI encoded twice, resulting in wrong value being passed as the query parameter. This PR fixes it.
redirect_to
request
Fixes https://github.com/supabase-community/supabase-flutter/issues/244
Because redirect_to is not being passed properly, emailRedirectTo is not working
emailRedirectTo
emailRedirectTo should be working with this one.
Where is it encoded the second time?
Ah the Uri constructor already handles this. https://api.dart.dev/stable/2.18.3/dart-core/Uri/Uri.html
Uri
What kind of change does this PR introduce?
Currently,
redirect_to
parameter of therequest
method is being URI encoded twice, resulting in wrong value being passed as the query parameter. This PR fixes it.Fixes https://github.com/supabase-community/supabase-flutter/issues/244
What is the current behavior?
Because redirect_to is not being passed properly,
emailRedirectTo
is not workingWhat is the new behavior?
emailRedirectTo
should be working with this one.