indieweb / indieweb/indieauth

Extension to Allow Clients to Get Tokens Secured by Ticket

Open
#88 5 comments 0 reactions 0 assignees View on GitHub
ticketing extension
Dominant language
HTML
Stars
57
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Want to start discussing this.

Proposing a simplified way for a client to get access to the token secured by the ticket endpoint. Starting with the autoauth solution, suggest that the client, in a user initiated interaction, needs to secure a token with a scope that gives it permission to retrieve tokens, let's say scope 'external_token'. We already have a flow for this, so no changes are required.

So, using the example of a social reader application, when you configure it, you grant it, or don't grant it permission to retrieve external tokens.

Then, the client would use that token, with the scope, to request it be given a copy of the stored token. That would likely be at the token endpoint for the user they are obtaining it on behalf of, with a new grant_type, providing the token that authorizes them to get these tokens, the client_id of the client requesting it, and the resource the URL the token allows access for.

Just started thinking about this, so a bit rough.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing autoauth flow and token endpoint described in the issue, then examine how the ticket endpoint secures stored tokens. The proposal is explicitly rough and names no files or tests; a completed effort would first need an agreed grant type, scope, request parameters, and behavior before implementation can be assessed.

Written by the indexing model from the issue text.

Assessment

Domain
api, 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.