[GH-ISSUE #167] Method options should not check auth #83

Closed
opened 2026-04-08 16:50:14 +03:00 by zhus · 2 comments
Owner

Originally created by @horizon0514 on GitHub (Jan 27, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/167

Problem
The preflight request will exclude user credentials
see stackoverflow

so when we use cors and auth, the options request will throw 401 error

it should not check the auth of options method

Environment:

  • Dufs version: latest
  • Browser/Webdav Info: Edge
  • OS Info: Mac OS
Originally created by @horizon0514 on GitHub (Jan 27, 2023). Original GitHub issue: https://github.com/sigoden/dufs/issues/167 **Problem** The preflight request will exclude user credentials see [stackoverflow](https://stackoverflow.com/questions/40722700/add-authentication-to-options-request) so when we use `cors` and `auth`, the `options` request will throw 401 error it should not check the auth of `options` method **Environment:** - Dufs version: latest - Browser/Webdav Info: Edge - OS Info: Mac OS
zhus closed this issue 2026-04-08 16:50:14 +03:00
Author
Owner

@horizon0514 commented on GitHub (Jan 27, 2023):

maybe I can pull a request

<!-- gh-comment-id:1406181686 --> @horizon0514 commented on GitHub (Jan 27, 2023): maybe I can pull a request
Author
Owner

@sigoden commented on GitHub (Jan 27, 2023):

You are welcome to submit a pr

<!-- gh-comment-id:1406507063 --> @sigoden commented on GitHub (Jan 27, 2023): You are welcome to submit a pr
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#83