OpenPrinting / OpenPrinting/cups

Support new OAuth 2.0 Client ID Metadata Document functionality

Open
#1,384 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
1.8k
Forks
331
Avg merge
9h 42m
Merged PRs (30d)
6

Description

CUPS should support the new Client ID Metadata Document Internet Draft. The client_id will be a URL ("https://openprinting.github.io/cups/oauth.json") which has an informational URL ("https://openprinting.github.io/cups/oauth.html") describing the client.

The CUPS libraries can look for the client_id_metadata_document_supported boolean in the server metadata to determine whether to use it.

Contributor guide

Open the contributing guide

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 by reading the linked OAuth Client ID Metadata Document draft and locating the CUPS library code that processes server metadata. Determine how the client_id_metadata_document_supported boolean should affect use of a URL client_id and its informational URL; the work is done when supported servers use this metadata-document flow without changing unsupported-server behavior.

Written by the indexing model from the issue text.

Assessment

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