---
title: "How to Use HttpOnly Cookie in .NET Core for Authentication and Refresh Token Actions"
url: https://daily.dev/posts/how-to-use-httponly-cookie-in-net-core-for-authentication-and-refresh-token-actions-ftnvtpvx8
source_url: https://code-maze.com/how-to-use-httponly-cookie-in-net-core-for-authentication-and-refresh-token-actions/
type: article
source: "Code Maze"
published: 2024-04-15T13:29:52.424Z
updated: 2024-05-09T08:20:02.615Z
tags: ["security", "authentication", ".net-core", "jwt"]
reading_time: 11
upvotes: 12
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Use HttpOnly Cookie in .NET Core for Authentication and Refresh Token Actions

**[Code Maze](https://daily.dev/sources/codemaze)** · 11 min read · 12 upvotes · 0 comments

## Summary

Learn how to use HttpOnly Cookie in .NET Core apps to secure JWT or JSON Web Tokens during authentication and refresh token actions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://code-maze.com/how-to-use-httponly-cookie-in-net-core-for-authentication-and-refresh-token-actions/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#authentication](https://daily.dev/tags/authentication), [#.net-core](https://daily.dev/tags/.net-core), [#jwt](https://daily.dev/tags/jwt)

[View this post on daily.dev](https://daily.dev/posts/how-to-use-httponly-cookie-in-net-core-for-authentication-and-refresh-token-actions-ftnvtpvx8)
