Skip to content

Malformed Authorization header blocks valid cookie authentication #6063

@aaradhychinche-alt

Description

@aaradhychinche-alt

User Request

Type: bug
Target: Console Application
Submitted by: @aaradhychinche-alt
Console Request ID: ea10e774-1dc7-4b01-9d13-01ca3f4eec27

Description

What happened:
If Authorization header is present but invalid, request fails even if a valid auth cookie exists.

What I expected:
Middleware should fallback to cookie authentication.

Steps to reproduce:

  1. Set valid auth cookie
  2. Send request with malformed Authorization header
  3. Observe 401 response

Additional context:
Breaks requests due to bad headers from proxies or clients.


This issue was automatically created from the KubeStellar Console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-fix-requestedai-processingAI is currently processing this issuekind/bugCategorizes issue or PR as related to a bug.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions