Skip to content

Commit e5e0105

Browse files
committed
Clarify documentation
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
1 parent a31e385 commit e5e0105

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

a2a/slack_researcher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The Slack Researcher Agent is designed to perform research tasks across Slack ch
3535
> If `ISSUER` is additionally set, the `iss` claim will be checked to equal this value.
3636
> If `AUDIENCE` is additionally set, the `aud` claim will be checked to equal this value.
3737
> If all of `TOKEN_URL`, `CLIENT_ID`, and `CLIENT_SECRET` are set in addition, token exchange will be performed using Bearer tokens from incoming requests, to send to the MCP endpoint.
38-
> In addition to `TOKEN_URL`, `CLIENT_ID`, `CLIENT_SECRET`, `TARGET_AUDIENCE` and `TARGET_SCOPES` can be optionally configured as the values of `audience` and `scope` in the token exchange request, respectively.
38+
> In addition to `TOKEN_URL`, `CLIENT_ID`, `CLIENT_SECRET`, which trigger token exchange, `TARGET_AUDIENCE` and `TARGET_SCOPES` can be optionally configured as the values of `audience` and `scope` in the token exchange request, respectively.
3939
4040

4141
## Running in Kagenti

a2a/slack_researcher/slack_researcher/auth.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ async def exchange(self, subject_token: str, audience: str = None, scope: str =
133133
'client_secret': self.client_secret,
134134
'subject_token': subject_token,
135135
}
136-
# TODO add audience, scope if populated
137136
if not audience is None:
138137
data['audience'] = audience
139138
if not scope is None:

0 commit comments

Comments
 (0)