Skip to content

Auth token exposed in URL query string for /api/jobs requests #1

@goutam-dev

Description

@goutam-dev

Description

The frontend sends the session token as a query parameter when requesting /api/jobs, e.g. /api/jobs?token=<JWT>

Authentication already relies on the Clerk session / authorization headers, so including the token in the URL appears unnecessary.

Impact

Tokens in URLs may be logged by servers, proxies, analytics tools, or stored in browser history, which can expose sensitive credentials.

Scope

Observed only on /api/jobs requests. Other endpoints (e.g., /profile, /stats) do not include the token in the query string.

Suggested Fix

Remove the token query parameter and rely on the existing authenticated request mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions