-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Needs: Attention 👋Awaiting response from the MSAL.js teamAwaiting response from the MSAL.js teamconfidential-clientIssues regarding ConfidentialClientApplicationsIssues regarding ConfidentialClientApplicationsdocumentationRelated to documentation.Related to documentation.msal-nodeRelated to msal-node packageRelated to msal-node packagequestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.
Description
Core Library
MSAL Node (@azure/msal-node)
Wrapper Library
Not Applicable
Public or Confidential Client?
Confidential
Documentation Location
Description
Hi team,
I've read through the MSAL Node caching documentation, but couldn't find anything specific about storing refresh tokens in cookies.
Many tutorials suggest storing the refresh token in a Secure, HttpOnly cookie (typically set by an API route), especially in setups that aim to remain serverless (e.g., using Vercel functions or similar).
Is this an approach that MSAL officially supports, or are there reasons it's discouraged? I understand there are always security considerations with token storage, but would appreciate any clarification or guidance on whether this is a supported pattern.
Metadata
Metadata
Assignees
Labels
Needs: Attention 👋Awaiting response from the MSAL.js teamAwaiting response from the MSAL.js teamconfidential-clientIssues regarding ConfidentialClientApplicationsIssues regarding ConfidentialClientApplicationsdocumentationRelated to documentation.Related to documentation.msal-nodeRelated to msal-node packageRelated to msal-node packagequestionCustomer is asking for a clarification, use case or information.Customer is asking for a clarification, use case or information.