From a259daec8bb5787aff025fbc3215816f93d6c76b Mon Sep 17 00:00:00 2001
From: guabu <135956181+guabu@users.noreply.github.com>
Date: Wed, 12 Nov 2025 18:35:45 +0100
Subject: [PATCH] chore: bump auth0-spa-js to support scopes parameter for
connected accounts
---
EXAMPLES.md | 4 ++--
src/auth0-context.tsx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/EXAMPLES.md b/EXAMPLES.md
index 0bc56771..007fe900 100644
--- a/EXAMPLES.md
+++ b/EXAMPLES.md
@@ -658,9 +658,9 @@ const ConnectAccount = () => {
const { connectAccountWithRedirect } = useAuth0();
return ;
};
diff --git a/src/auth0-context.tsx b/src/auth0-context.tsx
index d7343a9c..d40a9d25 100644
--- a/src/auth0-context.tsx
+++ b/src/auth0-context.tsx
@@ -126,9 +126,9 @@ export interface Auth0ContextInterface
* ```js
* await connectAccountWithRedirect({
* connection: 'google-oauth2',
+ * scopes: ['openid', 'profile', 'email', 'https://www.googleapis.com/auth/drive.readonly'],
* authorizationParams: {
- * access_type: 'offline',
- * scope: 'openid profile email https://www.googleapis.com/auth/drive.readonly',
+ * // additional authorization params to forward to the authorization server
* }
* });
* ```