You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to supabase-community#24
Update references from `gotrue-go` to `auth-go` in the codebase.
* **client.go**
- Update import paths to reference `auth-go` instead of `gotrue-go`.
- Update the `Client` struct to use the `auth-go` client.
- Update the `NewClient` function to initialize the `auth-go` client.
- Update the `SignInWithEmailPassword`, `SignInWithPhonePassword`, `EnableTokenAutoRefresh`, `RefreshToken`, and `UpdateAuthSession` methods to use `auth-go` types and methods.
* **client_test.go**
- Update import paths to reference `auth-go` instead of `gotrue-go`.
- Update the `NewClient` function calls to initialize the `auth-go` client.
- Update the test functions (`TestFrom`, `TestRpc`, `TestStorage`, and `TestFunctions`) to use `auth-go` types and methods.
* **go.mod**
- Remove `gotrue-go` dependency.
- Add `auth-go` dependency.
* **README.md**
- Update the features section to mention `auth-go` instead of `gotrue-go`.
* **test/remote_client.go**
- Update import paths to reference `auth-go` instead of `gotrue-go`.
- Update the `NewClient` function call to initialize the `auth-go` client.
- Update the `SignInWithEmailPassword` method call to use `auth-go` types and methods.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/supabase-community/supabase-go/issues/24?shareId=XXXX-XXXX-XXXX-XXXX).
Chore
Describe the chore
Places in the code that reference the archived
gotrue-go
package should be changed to reference the successor repoauth-go
instead.Additional context
See the README in the
gotrue-go
repo:The text was updated successfully, but these errors were encountered: