Azure / Azure/static-web-apps

Routes config based on a origin domain?

Open
#1,518 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Is it possible to have different **routes** configurations based on the origin domain?

**Additional context**
We have a use case where all the routes in SWA are available behind an authentication, and we would like all routes to be available without authentication for a specific origin domain.

To be exact, we have 2 SWA pages serving the storybook UI (**storybook1**, **storybook2**). Both are available behind an authentication; we would like **storybook1** to be able to access **storybook2** without authentication.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.