---
title: "Discussion on \"Why a CORS Preflight OPTIONS Request Returns 401\" | Hashnode"
description: "Discussion on \"Why a CORS Preflight OPTIONS Request Returns 401\". The browser's preflight carries no credentials, so an auth layer that meets it first returns 401."
url: "https://hashnode.com/posts/debugging-cors-preflight-options-returning-401/6af489c8aefff17c11834022"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why a CORS Preflight OPTIONS Request Returns 401](https://blogs.powerduck.com/debugging-cors-preflight-options-returning-401?utm_source=hashnode&utm_medium=feed)

The browser's preflight carries no credentials, so an auth layer that meets it first returns 401.

9h ago · 5 min read · blogs.powerduck.com  
Read the article

-   [#api](https://hashnode.com/tag/api)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#programming](https://hashnode.com/tag/programming)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
