OpenPrinting / OpenPrinting/cups
Support new OAuth 2.0 Client ID Metadata Document functionality
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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