vaimee / zion

A scalable Thing Description Directory
Apache License 2.0
17 stars 4 forks source link

WWW-Authenticate header missing for failed Authentication #26

Closed relu91 closed 1 year ago

relu91 commented 1 year ago

The exploration-secboot-auth states that:

If security bootstrapping is enabled on an exploration service using one of the following IANA-registered HTTP Authentication Schemes: Basic, Bearer, or Digest, then a 401 HTTP response at an API endpoint intended to serve a TD MUST include a WWW-Authenticate header and any other headers describing the required authorizations.

Currently, zion uses the Bearer token mechanism but it does not fulfill the assertion.