Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
Describe the bug
I'm trying to configure Custom Auth Provider with Azure Static Web Apps while on the "Standard" Pricing Plan. I'm using Azure B2C as the auth provider as we want to allow our users from our b2c account to be able to login to this static web apps.
The index page is accessibile even though the allowedRoles is set to be "authenticated"
typing "./auth/login/aadb2c" in the browser returns 404
I'm expecting for the page to automatically navigate to the "login" URL since I configured the wildcard route allowedRoles to be "authenticated" but users can still access the page even though they are not authenticated
checking the "/.auth/me" shows this
Navigating to "/.auth/login/aadb2c" returns 404 not found
Describe the bug I'm trying to configure Custom Auth Provider with Azure Static Web Apps while on the "Standard" Pricing Plan. I'm using Azure B2C as the auth provider as we want to allow our users from our b2c account to be able to login to this static web apps.
below is my staticweapp.config.json file
Expected behavior
I'm expecting for the page to automatically navigate to the "login" URL since I configured the wildcard route allowedRoles to be "authenticated" but users can still access the page even though they are not authenticated
checking the "/.auth/me" shows this
Navigating to "/.auth/login/aadb2c" returns 404 not found
Device info (if applicable):
Additional context