openid / openid/sharedsignals

Support for authorization header when no push auth defined

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

Nobody has claimed this yet.

Dominant language
Makefile
Stars
78
Forks
18
PR merge metrics
No merged PRs in 30d

Description

6.1.1. Push Delivery using HTTP says that

authorization_header

If the endpoint_url requires authorization, the receiver SHOULD provide this authorization header in the stream creation/updation. If present, the Transmitter MUST provide this value with every HTTP request to the endpoint_url.

How should receiver handle push delivery requests with an authorization header, if the stream config does not define a push authorization header?

How to deal with the case that a stream explicitly does not define an push authorization header but the transmitter sends an Authorization header anyways?
If we receive an authorization header for push endpoint requests, without specifying one, this might indicate a configuration issue on either the transmitter or receiver side.

Should a receiver ignore the authroization header and accept the request, or should the receiver reject the request?

In the latest version of the OIDF conformance suite, we have a new test (openid-ssf-transmitter-push-no-auth) which explicitly uses NO push authorization header and fails the (new) test (openid-ssf-transmitter-push-no-auth), if the transmitter sends a request with an authorization header.

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 with section 6.1.1 of the OpenID Shared Signals Framework and the openid-ssf-transmitter-push-no-auth conformance test. Determine the expected behavior when the stream omits push authorization but a request includes an Authorization header, then document the decision and align the relevant conformance behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.