Skip to content

Commit a2bc7d8

Browse files
committed
Fix lint issues
1 parent 4df4c27 commit a2bc7d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/auth0_fastapi/server/routes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
from typing import Optional, Annotated
1+
from typing import Annotated, Optional
22

33
from fastapi import APIRouter, Depends, HTTPException, Query, Request, Response
44
from fastapi.responses import RedirectResponse
55

66
from ..auth.auth_client import AuthClient
77
from ..config import Auth0Config
8-
from ..util import create_route_url, to_safe_redirect
98
from ..errors import ConfigurationError
9+
from ..util import create_route_url, to_safe_redirect
1010

1111
router = APIRouter()
1212

@@ -33,7 +33,7 @@ def register_auth_routes(router: APIRouter, config: Auth0Config):
3333
# Both mount the `/auth/connect` route to initiate the flow
3434
raise ConfigurationError(
3535
"'mount_connect_routes' and 'mount_connected_account_routes' cannot be used together.")
36-
36+
3737
if config.mount_routes:
3838
@router.get("/auth/login")
3939
async def login(
@@ -155,7 +155,7 @@ async def connect_account(
155155
Endpoint to initiate the connect account flow for linking a third-party account to the user's profile.
156156
Redirects the user to the Auth0 connect account URL.
157157
"""
158-
authorization_params = {
158+
authorization_params = {
159159
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(

0 commit comments

Comments
 (0)