Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

All services need to return 502 if the Auth service is unavailable #9

@amrc-benmorrow

Description

@amrc-benmorrow

Currently all services which authorise requests against the Auth service will return 401 responses if the auth service is unavailable. This was implemented for safety; the check-acl function returns access-denied just in case.

This is causing problems. Services should return a 5xx error instead, probably 503 Service Unavailable.

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