layer5io / layer5io/recognition

Auth token missing in profile API request

Open
#121 3 comments 0 reactions 1 assignee View on GitHub

@AnkitRewar11 is already working on this.

Since Sep 18, 2026.

kind/bug
Dominant language
JavaScript
Stars
23
Forks
15
Avg merge
3h 18m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.