Skip to content

Consider adding a 'nonce' param to WWW-Authenticate response header #3

Open
@dmitrizagidulin

Description

@dmitrizagidulin

As mentioned by @zenomt in #1, it may be advantageous to:

  1. Add a nonce param to the Resource Server's 401 WWW-Authenticate response headers.
  2. Require WebID-OIDC tokens (bearer or PoP) to include/pass through that nonce param, for verification by the RS

Specifically, on a 401 Unauthorized http response, the Resource Server would include the authenticate header that would look something like:

WWW-Authenticate: Bearer realm="..." scope="..." nonce="abcd123"

Opening this issue as a reminder to discuss:

  • Whether to include this mechanism in whatever auth system WebID-OIDC evolves into
  • What to name that param (nonce or challenge or something else)
  • Add the requirements for its validation by the RS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions