Skip to content

Add support for RFC 8707 resource parameter #941

Closed

Description

@juannyG

Describe the feature

Add resource to the Request._params whitelist in oauthlib/common.py, enabling request.resource attribute access for the RFC 8707 Resource Indicators parameter.

Currently, if a client sends resource=https://api.example.com in the POST body to /token, the value is parsed into decoded_body but is not accessible via request.resource because resource is not in the _params dictionary. This is the same class of RFC-defined parameter as code_challenge (RFC 7636) and nonce (OIDC Core), both of which are already in the whitelist.

Additional context

Activity

  1. added a commit that references this issue on Mar 18, 2026
    367ada2
  2. added a commit that references this issue on Apr 22, 2026
    b3f9edf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions