You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've followed the steps outlined in the README for this project related to setting up a new Azure Authentication Registration, User Flow, etc; however, the output of that process is a staticwebapp.config.json file that needs to be associated with the Static Web App on build.
I have added it to the ./packages/webapp project root and it is being placed in the ./webapp/dist folder during azd deploy; however, the application itself cannot invoke the /.auth/login/aadb2c or other flow (it is returning a default, Azure-controller 404 page).
What I am seeing is that /.auth/me "works" (feel free to check it out) in that it returns:
{
"clientPrincipal": null
}
Where should this file be placed?
Is the above-shown JSON response indicative of a my-side configuration issue?
The text was updated successfully, but these errors were encountered:
I believe given the azd deploy mechanism for pushing this infrastructure into the cloud, it is nearly impossible to associate the correct staticwebapp.config.json with the needed Azure Static Web App (webapp) resource. I've tried modifying the npm build scripts to move the file into the /dist/ but that appears not to work.
@sinedied there should also be the ability to enable Azure AD B2C authentication .auth/login/aadb2c which is not enabled out-of-box. Trying to figure out on my end how to get it functional. I'll see where I get; but worry I may need to abandon the effort.
I've followed the steps outlined in the README for this project related to setting up a new Azure Authentication Registration, User Flow, etc; however, the output of that process is a
staticwebapp.config.json
file that needs to be associated with the Static Web App on build.I have added it to the
./packages/webapp
project root and it is being placed in the./webapp/dist
folder duringazd deploy
; however, the application itself cannot invoke the/.auth/login/aadb2c
or other flow (it is returning a default, Azure-controller404
page).What I am seeing is that
/.auth/me
"works" (feel free to check it out) in that it returns:The text was updated successfully, but these errors were encountered: