Skip to content

Commit

Permalink
Supabase to support Twitch auth (redwoodjs#3134)
Browse files Browse the repository at this point in the history
* Upgrade Supabase to support Twitch auth

* Updated packages

Co-authored-by: David Price <[email protected]>
  • Loading branch information
dthyresson and thedavidprice authored Jul 30, 2021
1 parent 27eb35b commit 7615028
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@auth0/auth0-spa-js": "1.16.1",
"@clerk/clerk-js": "^1.26.0",
"@clerk/types": "^1.6.0",
"@supabase/supabase-js": "1.18.0",
"@supabase/supabase-js": "1.21.0",
"@types/netlify-identity-widget": "1.9.2",
"@types/react": "17.0.14",
"firebase": "8.7.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/authClients/supabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface AuthClientSupabase extends AuthClient {
* @param options.email The user's email address.
* @param options.password The user's password.
* @param options.refreshToken A valid refresh token that was returned on login.
* @param { 'apple' | 'azure' | 'bitbucket' | 'discord' | 'facebook' | 'github' | 'gitlab' | 'google' | 'twitter' } options.provider One of the providers supported by GoTrue.
* @param { 'apple' | 'azure' | 'bitbucket' | 'discord' | 'facebook' | 'github' | 'gitlab' | 'google' | 'twitch' | 'twitter' } options.provider One of the providers supported by GoTrue.
* @param redirectTo A URL or mobile address to send the user to after they are confirmed.
* @param scopes A space-separated list of scopes granted to the OAuth application.
*/
Expand Down
8 changes: 4 additions & 4 deletions tasks/framework-tools/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2429,10 +2429,10 @@
resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-1.0.3.tgz#db9cc719191a62e7d9200f6e7bab21c5b848adca"
integrity sha512-Aq58f5HiWdyDlFffbbSjAlv596h/cOnt2DO1w3DOC7OJ5EHs0hd/nycJfiu9RJbT6Yk6F1knnRRXNSpxoIVZ9Q==

"@redwoodjs/[email protected].2":
version "0.35.2"
resolved "https://registry.yarnpkg.com/@redwoodjs/eslint-config/-/eslint-config-0.35.2.tgz#3e6a6fb7aa3444a8ce723403f260c82efc4fcbec"
integrity sha512-Q3IxuGCFl1wnEV5zbeqBh3pSCrbPBd2rK3iQmqPtBD9ni4OnfaYwyYOo+eLIYufUmULSn/y8QNT5Flwylapt8g==
"@redwoodjs/[email protected].1":
version "0.35.1"
resolved "https://registry.yarnpkg.com/@redwoodjs/eslint-config/-/eslint-config-0.35.1.tgz#db6155303775b09734045f4c8dbc1a22bd9fa0ac"
integrity sha512-WIHQESsyAsNb9syugVCJU1kO5meXA8wSuDHEIoZFvbZ1ylegusdksAdeX3hwhgx6DlNbdJZRlkqLy8ilMd74Mw==
dependencies:
"@typescript-eslint/eslint-plugin" "4.28.2"
"@typescript-eslint/parser" "4.28.2"
Expand Down
49 changes: 28 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3969,10 +3969,10 @@
resolve-from "^5.0.0"
store2 "^2.12.0"

"@supabase/gotrue-js@^1.16.6":
version "1.16.6"
resolved "https://registry.yarnpkg.com/@supabase/gotrue-js/-/gotrue-js-1.16.6.tgz#d9d63740b11ad51d2f8d6c68e9ac16bb83439888"
integrity sha512-tLaG4G4sMW2P1hyq05Nr0jM/6AbdiWkjOPbM+QZsuVSsNbZ/z+BNxuE5q+6zHOnoP+YKEHup7x9xKR0zy2UqUQ==
"@supabase/gotrue-js@^1.17.0":
version "1.17.0"
resolved "https://registry.yarnpkg.com/@supabase/gotrue-js/-/gotrue-js-1.17.0.tgz#0ff46f844ddd124543d2769da8eda58ab479b49b"
integrity sha512-c+GSSoW+PIT3/r7TnBdc4gPjtWDutO/2ROafSKUFl39Pb8aHIUbUvzK9sjuedaaLKH7bV8VefuRy2L8c0BUAzg==
dependencies:
cross-fetch "^3.0.6"

Expand All @@ -3983,30 +3983,30 @@
dependencies:
cross-fetch "^3.0.6"

"@supabase/realtime-js@^1.0.9":
version "1.0.9"
resolved "https://registry.yarnpkg.com/@supabase/realtime-js/-/realtime-js-1.0.9.tgz#a4be4f893be78db4487ad2c9de155a4a07532eae"
integrity sha512-hGClyW7hHXW0PC6reJgaKFL0c3ubC+AVt7U/MxD0VJNjVXIw4PLj7DxgMpCIpNXksHJsLOBL8ht+BMhPb6rE8Q==
"@supabase/realtime-js@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@supabase/realtime-js/-/realtime-js-1.1.1.tgz#3a1be101eecbc2413d41bfdd6757d964a5f82b14"
integrity sha512-kUew5KPjgWYtenxrQJWZ/tHMGlg5Qz++bbsiY8Y89AjZQioSO557MlGHaEoT6k4s7CJ6e/ctNsT7tRhCKJimcQ==
dependencies:
"@types/websocket" "^1.0.1"
"@types/websocket" "^1.0.3"
websocket "^1.0.34"

"@supabase/storage-js@^1.2.2":
version "1.2.2"
resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-1.2.2.tgz#6eeef2d1365af2497b35ae6c6384f5dfbd75f5b6"
integrity sha512-EJ2BsfD7Mc+fXJqRef3YiWF8kg/GhBdxIil7EzmrAFBSJ3VCbN4sqzvCCUYK2dtNICUV3JOKh5SBX2RrgROIOA==
"@supabase/storage-js@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-1.4.0.tgz#0692782ccaf10df27d539d9349031ed87c7ec426"
integrity sha512-7+SGyXOgdhtz8qHzXo64HiS66PT/y4F8YFNMtXqYOu1LjHh0YwtOgpPLDA8obiSsNVwZiKwpgBJkz4LHG1YvRQ==
dependencies:
cross-fetch "^3.1.0"

"@supabase/supabase-js@1.18.0":
version "1.18.0"
resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-1.18.0.tgz#912d8ae6ab611cfb156aada4d15fcee59e8f6e36"
integrity sha512-0gkL4oDSsTNc0t0ks3aIuIoPzlqix4Jqc9lII3cczaaN8MYjZDKTo48MkWvnwXm0pYuoS8wAoGzRjQ6llXAUHw==
"@supabase/supabase-js@1.21.0":
version "1.21.0"
resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-1.21.0.tgz#7fe3575a41644048ecbe2ed6eba89e830959d47b"
integrity sha512-SJgRQCdHRpnnuXVCb7X8XA/u2S4oo1Jdn92eLBl0QaUKGhREFHk2x4XlJZA9bJNzAhby9eQZ56FCtBrUda2CRQ==
dependencies:
"@supabase/gotrue-js" "^1.16.6"
"@supabase/gotrue-js" "^1.17.0"
"@supabase/postgrest-js" "^0.33.0"
"@supabase/realtime-js" "^1.0.9"
"@supabase/storage-js" "^1.2.2"
"@supabase/realtime-js" "^1.1.1"
"@supabase/storage-js" "^1.4.0"

"@szmarczak/http-timer@^1.1.2":
version "1.1.2"
Expand Down Expand Up @@ -5034,13 +5034,20 @@
anymatch "^3.0.0"
source-map "^0.6.0"

"@types/[email protected]", "@types/websocket@^1.0.1":
"@types/[email protected]":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.2.tgz#d2855c6a312b7da73ed16ba6781815bf30c6187a"
integrity sha512-B5m9aq7cbbD/5/jThEr33nUY8WEfVi6A2YKCTOvw5Ldy7mtsOkqRvGjnzy6g7iMMDsgu7xREuCzqATLDLQVKcQ==
dependencies:
"@types/node" "*"

"@types/websocket@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.3.tgz#49e09f939afd0ccdee4f7108d4712ec9feb0f153"
integrity sha512-ZdoTSwmDsKR7l1I8fpfQtmTI/hUwlOvE3q0iyJsp4tXU0MkdrYowimDzwxjhQvxU4qjhHLd3a6ig0OXRbLgIdw==
dependencies:
"@types/node" "*"

"@types/ws@^7.0.0":
version "7.4.4"
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.4.tgz#93e1e00824c1de2608c30e6de4303ab3b4c0c9bc"
Expand Down

0 comments on commit 7615028

Please sign in to comment.