Skip to content

Commit 70529b9

Browse files
committed
Code review fixes
1 parent 2e27549 commit 70529b9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples/ConnectedAccounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ complete_response = await self.client.complete_connect_account(
9696
>[!NOTE]
9797
>The `callback_url` must include the necessary parameters (`state` and `connect_code`) that Auth0 sends upon successful authentication.
9898
99-
You can now [call the API](https://github.com/auth0/auth0-spa-js/blob/main/EXAMPLES.md#calling-an-api) with your access token and the API can use [Access Token Exchange with Token Vault](https://auth0.com/docs/secure/tokens/token-vault/access-token-exchange-with-token-vault) to get tokens from the Token Vault to access third party APIs on behalf of the user.
99+
You can now call the API with your access token and the API can use [Access Token Exchange with Token Vault](https://auth0.com/docs/secure/tokens/token-vault/access-token-exchange-with-token-vault) to get tokens from the Token Vault to access third party APIs on behalf of the user.

src/auth0_server_python/auth_server/server_client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,6 @@ async def get_access_token(
615615
if ts.get("audience") == audience and (not scope or ts.get("scope") == scope):
616616
token_set = ts
617617
break
618-
if ts.get("audience") == audience and (not scope or ts.get("scope") == scope):
619-
token_set = ts
620-
break
621618

622619
# After loop: if no matching token found and MRRT disabled, check if we need to error
623620
if not token_set and not self._use_mrrt and state_data_dict.get("token_sets"):

0 commit comments

Comments
 (0)