Skip to content

fix: allow SUPERADMIN_TOKEN as plain string auth, not just JWT#11

Merged
fdciabdul merged 1 commit intomainfrom
dev
Mar 27, 2026
Merged

fix: allow SUPERADMIN_TOKEN as plain string auth, not just JWT#11
fdciabdul merged 1 commit intomainfrom
dev

Conversation

@fdciabdul
Copy link
Copy Markdown
Owner

Previously SUPERADMIN_TOKEN was only displayed on startup but the middleware always required a valid JWT. Now if the Bearer token matches SUPERADMIN_TOKEN, it's accepted directly without JWT validation.

Previously SUPERADMIN_TOKEN was only displayed on startup but the
middleware always required a valid JWT. Now if the Bearer token matches
SUPERADMIN_TOKEN, it's accepted directly without JWT validation.
@fdciabdul fdciabdul merged commit 57d232e into main Mar 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant