-
Notifications
You must be signed in to change notification settings - Fork 286
Closed
Milestone
Description
Is your feature request related to a problem? Please describe.
After authorization is completed, the access token is added to the current context, but it's not accessible from outside the auth package.
It is causing a problem when an MCP tool requires the access token to get the currently logged in user's information.
Describe the solution you'd like
- Export
tokenInfoKeyso that an MCP tool can retrieve the token so that it can be used from outside the package. - Add
AccessTokenfield toTokenInfostruct.
Describe alternatives you've considered
Defining access_token as MCP parameter. However this doesn't work because MCP clients does not always append access_token to the MCP tool call as parameter.
Additional context
I'm trying out the auth package with the version v0.2.1-0.20250812214950-6e03217c831b.
Metadata
Metadata
Assignees
Labels
No labels