Setting Up Authentication for Azure Static Web Apps (SWA)

Learn how to add password protection to your Azure Static Web App's main branch.

Introduction

Azure Static Web Apps provides built-in authentication and authorization capabilities. This guide will walk you through setting up authentication to protect access to your main branch.

Please see in the following image how to set pass protection.
Config authentication