mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Fixed signInWithOAuth example documentation (#21198)
* Fix .env.example STUDIO Variables * Fixed signInWithOAuth example documentation * Fixed signInWithOAuth example documentation --------- Co-authored-by: riccardocucia <riccardocucia@gmial.com> Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 file changed
+3
-3
@@ -274,7 +274,7 @@ functions:
|
||||
isSpotlight: true
|
||||
code: |
|
||||
```dart
|
||||
await supabase.auth.signInWithOAuth(Provider.github);
|
||||
await supabase.auth.signInWithOAuth(OAuthProvider.github);
|
||||
```
|
||||
- id: sign-in-using-a-third-party-provider-with-redirect
|
||||
name: With `redirectTo`
|
||||
@@ -284,7 +284,7 @@ functions:
|
||||
code: |
|
||||
```dart
|
||||
await supabase.auth.signInWithOAuth(
|
||||
Provider.github,
|
||||
OAuthProvider.github,
|
||||
redirectTo: kIsWeb ? null : 'io.supabase.flutter://reset-callback/',
|
||||
);
|
||||
```
|
||||
@@ -296,7 +296,7 @@ functions:
|
||||
code: |
|
||||
```dart
|
||||
await supabase.auth.signInWithOAuth(
|
||||
Provider.github,
|
||||
OAuthProvider.github,
|
||||
scopes: 'repo gist notifications'
|
||||
);
|
||||
...
|
||||
|
||||
Reference in new issue
Block a user