PlaidWeb / PlaidWeb/Authl

Support indieauth-metadata endpoint

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
40
Forks
4
PR merge metrics
No merged PRs in 30d

Description

IndieAuth now supports a bundled metadata discovery mechanism, and it would be a good idea for Authl to support that for server discovery as well.

indieauth.find_endpoints needs to check for the indieauth-metadata rel, and if it exists, consume the data from there (overriding the data discovered from the original resource).

The endpoints of interest to Authl and its primary consumers are:

  • authorization_endpoint (for IndieAuth's login flow)
  • ticket_endpoint (for TicketAuth support, primarily in Publ)

Additionally, if there is now an issuer, that needs to be added to the token state and verified in IndieAuth.check_callback.

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 indieauth.find_endpoints and the IndieAuth.check_callback entry point, then read the linked IndieAuth metadata discovery specification. Done means metadata can override discovery for authorization_endpoint and ticket_endpoint, and any issuer is carried in token state and verified during the callback.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.