Skip to content

palakz-simform/MSAL-Nuxt3

Repository files navigation

MSAL Authentication in Nuxt 3

Overview

This guide explains how to set up authentication using Microsoft Authentication Library (MSAL) in a Nuxt 3 project.

Prerequisites

  • Node.js installed on your machine
  • A Microsoft Azure account
  • Basic understanding of Nuxt.js

Installation

  • Install Nuxt 3 and create a new project.
  • Install MSAL using npm or yarn:
npm install @azure/msal-browser

or

yarn add @azure/msal-browser

Configuration

Define your MSAL configuration in a plugins/msal.js file.

Usage

  • Create an authentication service to encapsulate MSAL functionality.
  • Use the authentication service in your Nuxt 3 application where authentication is required.

Build Setup

 # install dependencies
  npm install

  # serve with hot reload
  npm run dev

Documentation

Live Link

You can see the demo here : MSAL Nuxt3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages