Skip to content

Commit 2b0439d

Browse files
committed
Cleanup transaction data at end of the flow
1 parent 08fbc31 commit 2b0439d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/auth0_server_python/auth_server/server_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,4 +1436,7 @@ async def complete_connect_account(
14361436
if transaction_data.app_state is not None:
14371437
response.app_state = transaction_data.app_state
14381438

1439+
# Clean up transaction data after successful login
1440+
await self._transaction_store.delete(transaction_identifier, options=store_options)
1441+
14391442
return response

0 commit comments

Comments
 (0)