Skip to content

Normalize avatar bearer token parsing - #145

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/normalize-avatar-bearer-token
Jul 12, 2026
Merged

Normalize avatar bearer token parsing#145
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/normalize-avatar-bearer-token

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • normalize the upload-avatar bearer token parser so case-insensitive schemes and extra spaces still validate the supplied token
  • keep empty bearer headers from calling Supabase token validation
  • add focused regression coverage for POST/DELETE auth behavior

Validation

  • vitest run src/app/api/auth/upload-avatar/route.test.js

@ralyodio
ralyodio merged commit 80159cb into profullstack:master Jul 12, 2026
8 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.

2 participants