Skip to content

aaronpowell/swa-custom-auth-auth0

Repository files navigation

Azure Static Web Apps - Custom auth with Auth0

This repository contains an example of how to use Auth0 as a custom auth provider to Azure Static Web App. You can read about how to implement this on my blog.

Live Demo.

Azure Static Website React Template

This repository contains a template for creating an Azure Static Web App projects using React + TypeScript.

In the template there is Create React App site using TypeScript and an api folder with an empty Azure Functions, also using TypeScript.

To get started, click the Use this template button to create a repository from this template, and check out the GitHub docs on using templates.

Running The Application

From a terminal run npm start from both the repository root and api folder to start the two servers, the web application will be on http://localhost:3000 and the API on http://localhost:7071. Alternatively, you can use the VS Code launch of Run full stack to run both together with debuggers attached.

About

A sample of how to setup SWA custom OIDC providers using Auth0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors