We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth.VerifyForUser
When calling Auth.VerifyForUser I expect the first parameter, which is the response, to be filled, instead, it's nil.
nil
Example:
res, err := s.supabaseService.Client().Auth.VerifyForUser(types.VerifyForUserRequest{ Type: types.VerificationType("email"), Token: authSignUpConfirmDto.Code, Email: authSignUpConfirmDto.Email, RedirectTo: siteUrl, }) fmt.Println("res", res) fmt.Println("err", err)
If this succeeds, res is nil, and err contains the response with access token and other data.
res
err
Steps to reproduce the behavior, please provide code snippets or a repository:
types.VerifyForUserRequest
I expect that types.VerifyForUserRequest is not nil, and contains access token.
I assume, if this is indeed a bug, the error might be between these lines: https://github.com/supabase-community/auth-go/blob/main/endpoints/verify.go#L142-L148
Maybe Supabase API doesn't return 303 anymore?
303
res is nil
1.2.0
0.0.4
The text was updated successfully, but these errors were encountered:
Should be addressed by #8
Sorry, something went wrong.
Thanks 😊 you guys rock!
No branches or pull requests
Bug report
Describe the bug
When calling
Auth.VerifyForUser
I expect the first parameter, which is the response, to be filled, instead, it'snil
.Example:
If this succeeds,
res
isnil
, anderr
contains the response with access token and other data.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Auth.VerifyForUser
with correct datatypes.VerifyForUserRequest
isnil
, which it shouldn't if the response succeedsExpected behavior
I expect that
types.VerifyForUserRequest
is notnil
, and contains access token.I assume, if this is indeed a bug, the error might be between these lines: https://github.com/supabase-community/auth-go/blob/main/endpoints/verify.go#L142-L148
Maybe Supabase API doesn't return
303
anymore?Screenshots
res
isnil
System information
1.2.0
0.0.4
The text was updated successfully, but these errors were encountered: