File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
src/auth0_server_python/auth_server Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1319,14 +1319,6 @@ async def start_connect_account(
13191319 if not self ._use_mrrt :
13201320 raise Auth0Error ("Multi-Resource Refresh Tokens (MRRT) is required to use Connected Accounts functionality." )
13211321
1322- # Get effective authorization params (merge defaults with provided ones)
1323- auth_params = dict (self ._default_authorization_params )
1324- if options .authorization_params :
1325- auth_params .update (
1326- {k : v for k , v in options .authorization_params .items (
1327- ) if k not in INTERNAL_AUTHORIZE_PARAMS }
1328- )
1329-
13301322 # Use the default redirect_uri if none is specified
13311323 redirect_uri = options .redirect_uri or self ._redirect_uri
13321324 # Ensure we have a redirect_uri
@@ -1345,7 +1337,7 @@ async def start_connect_account(
13451337 code_challenge = code_challenge ,
13461338 code_challenge_method = "S256" ,
13471339 state = state ,
1348- authorization_params = auth_params or None
1340+ authorization_params = options . authorization_params
13491341 )
13501342 access_token = await self .get_access_token (
13511343 audience = self ._my_account_client .audience_identifier ,
@@ -1438,4 +1430,4 @@ async def complete_connect_account(
14381430 # Clean up transaction data
14391431 await self ._transaction_store .delete (transaction_identifier , options = store_options )
14401432
1441- return response
1433+ return response
You can’t perform that action at this time.
0 commit comments