Can't upload File to doc to Minio S3 under Authelia protection #6739
Unanswered
catfishlty
asked this question in
Self Hosting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use
Authelia
to protect all my services. And I'm pretty sure that bothdocs.mydomain.com
andminio.mydomain.com
are under authelia protection.When uploading a file to outline, the upload requests will be failed by authelia auth check.
Then I checked the requests flow, and I think the upload requests send to minio service missing cookies with authelia auth info, so the requests are failed.
Here're 3 requests when uploading a file that I capture them on Chrome Dev Tools.
attachments.create with Cookies
General
Request URL:
https://docs.mydomain.com/api/attachments.create
Request Method:
POST
Status Code:
200 OK
Docker Compose File
Request Header
Cookie:
authelia_session={authelia_session}; sessions=%7B%7D; accessToken={accessToken}
Request Payload
Response
Minio Options without Cookies
General
Request URL:
https://minio.mydomain.com/outline
Request Method:
OPTIONS
Status Code:
200 OK
Request Header
No Cookies
Minio POST without Cookies
General
Request URL:
https://minio.mydomain.com/outline
Request Method:
POST
Status Code:
303 See Other
Request Header
No Cookies
Request Payload
Can't see it on Chrome Dev Tools
I don't know why the requests send to minio service without cookies that is required for this situation, so I need some help to solve this problems.
Thanks~
Beta Was this translation helpful? Give feedback.
All reactions