Replies: 2 comments
-
I guess this happens because next/image doesn't forward the headers? This is done for security reasons. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there any reference code for this issue or a workaround?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi. I am working on nextjs + payload projct. I have configured multitenant plugin as follows:
Adding media collection to the plugin prevents displaying images in next/Image for users who do not own those media files, on top of this issue. Status code is 403 (Forbidden). On removing the collection all images are displayed.
Expected behavior: plugin only restricts collection access in payload's admin dashboard.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions