Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Authorization header missing from requests to custom endpoint #81

Open
blobmold opened this issue Jan 27, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@blobmold
Copy link

Package name

payload-openapi

What happened?

I am using Swagger to send authorized requests to custom endpoint that expects authorization header, but swagger does not seem to send it.

What did you expect

No response

Setps to reproduce

  1. Define a custom endpoint with a middleware that protects it via checking the authorization header
  2. Attempt to send the request

Authorization header will be missing

Tool version

1.4.0

Payload version

^2.0

Node version

20

@blobmold blobmold added the bug Something isn't working label Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants