layer5io / layer5io/recognition
Auth token missing in profile API request
Open
@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
Environment
- Host OS: Mac Linux Windows
- Platform: Docker or Kubernetes
- Meshery Server Version: stable-v
- Meshery Client Version: stable-v
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.