indieweb / indieweb/indieauth

Should a token grant access to anything more specific than the specified resource?

Open
#83 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ticketing extension
Dominant language
HTML
Stars
57
Forks
7
PR merge metrics
No merged PRs in 30d

Description

(copying from the wiki)

Would a token grant access to anything more specific than the provided resource, or would it be only for that specific resource? (e.g. should a token for https://example.com/alice/ also work on https://example.com/alice/feed)

  • Giving meaning to the URLs like this is convenient but may be misleading or break security boundaries in unexpected ways.
  • An alternative would be to include another parameter, such as the previously discussed "realm", or somehow using scopes for this.
  • Following RFC8707: Resource Indicators for OAuth 2.0 this would mean allowing resource=https://example.com/alice/ to be used to retrieve the value of https://example.com/alice/feed
    • This allows the use of multiple resource parameters for the purpose of multiple resource URLs to provide access to

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the IndieAuth Specification and the RFC8707 Section 2 link cited in issue #83. Determine whether a token for https://example.com/alice/ grants access to https://example.com/alice/feed or only the exact resource, including the security implications and multiple resource parameters. Done means the specification states the resolved resource-matching rule.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.