Support RFC 8707 Resource Indicators (getResourceServerInfo callback) #365
Labels
No labels
bug
chore
documentation
enhancement
help
in-progress
question
ready-for-release
released
translation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
adam/gate#365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe your idea for an enhancement:
VoidAuth's underlying node-oidc-provider exposes a features.resourceIndicators hook, but getResourceServerInfo is not implemented. This means the resource parameter sent by OAuth clients (per RFC 8707) is silently ignored and tokens are issued without an aud claim scoped to the requested resource server.
It would be useful if VoidAuth allowed administrators to configure allowed resource URIs (e.g. per OIDC app), so that:
This is relevant for MCP (Model Context Protocol) deployments where clients like claude.ai send resource=https://mcp.example.com in the authorization request, and for any multi-service setup where audience-restricted tokens improve security.
Describe alternatives you've considered:
Additional context:
Unfortunately I have no experience with this feature of OIDC. If this can be implemented without breaking existing flows I would encourage anyone to take a look and submit a PR if they can get it working.