Skip to content

Auth token missing in profile API request #121

Closed

Description

@AnkitRewar11

Current Behavior

The /api/identity/users/profile request is being sent with Authorization: Bearer null when the auth token is unavailable. This causes the request to fail with a CORS error instead of returning a proper authentication response.

Expected Behavior

The profile API request should only be sent when a valid auth token is available. If no token is present, the request should be skipped or the user should be redirected to the login flow instead of sending Authorization: Bearer null.

Screenshots/Logs

Image

Environment

  • Host OS: Mac Linux Windows
  • Platform: Docker or Kubernetes
  • Meshery Server Version: stable-v
  • Meshery Client Version: stable-v

Activity

  1. added
    kind/bug
    on Sep 18, 2026
  2. AnkitRewar11 commented on Sep 18, 2026

    @AnkitRewar11
    ContributorAuthor

    I would like to work on this issue. Please assign it to me.

  3. tanav29 commented on Sep 18, 2026

    @tanav29

    Can you assign this to me?

  4. Rabia-Ghafoor commented on Sep 18, 2026

    @Rabia-Ghafoor
    Contributor

    hey @AnkitRewar11 could you please assign this to me? I'm a new comer and haven't gotten the chance to work on single issue yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions