joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

fix authentication challenge returned on 401, 403 responses #1042

Closed karenetheridge closed 3 years ago

karenetheridge commented 3 years ago

We should not be sending "Basic" as we do not recognize that type, but rather "Bearer" where the Authorization header is expected to contain a JWT.

see https://github.com/joyent/conch-ui/issues/262#issuecomment-707255514