Skip to content

Commit e6ed8bb

Browse files
committed
Correctly filter out scopes param rather than scope param
1 parent 1046eb6 commit e6ed8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth0_fastapi/server/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async def connect_account(
156156
Redirects the user to the Auth0 connect account URL.
157157
"""
158158
authorization_params = {
159-
k: v for k, v in request.query_params.items() if k not in ["connection", "returnTo", "scope"]}
159+
k: v for k, v in request.query_params.items() if k not in ["connection", "returnTo", "scopes"]}
160160

161161
connect_account_url = await auth_client.start_connect_account(
162162
connection=connection,

0 commit comments

Comments
 (0)