Closed dsyrstad closed 2 months ago
Describe the bug The GoTrueAdminApi.generateLink() method is missing the parameter for newEmail when you are trying to generate a link for an email change. For example:
GoTrueAdminApi.generateLink()
newEmail
final linkResponse = await supabaseServiceClient.auth.admin.generateLink( type: GenerateLinkType.emailChangeNew, email: oldEmailAddress, newEmail: newEmailAddress, // MISSING );
The JS API has it: https://supabase.github.io/supabase-js/v2/modules/index.html#GenerateEmailChangeLinkParams
To Reproduce See the code snippet above.
Expected behavior I'm able to generate an email change link.
Screenshots N/A
Version Linux:
│ ├── supabase... ├── storage_client 2.0.0 ├── supabase 2.0.2 │ ├── functions_client 2.0.0 │ ├── gotrue 2.1.0 │ ├── postgrest 2.0.1 │ ├── realtime_client 2.0.0 │ ├── storage_client...
I know I'm a bit behind, but it isn't in the latest gotrue 2.6.0 either.
Additional context N/A
Describe the bug The
GoTrueAdminApi.generateLink()
method is missing the parameter fornewEmail
when you are trying to generate a link for an email change. For example:The JS API has it: https://supabase.github.io/supabase-js/v2/modules/index.html#GenerateEmailChangeLinkParams
To Reproduce See the code snippet above.
Expected behavior I'm able to generate an email change link.
Screenshots N/A
Version Linux:
I know I'm a bit behind, but it isn't in the latest gotrue 2.6.0 either.
Additional context N/A