Skip to content

Assistance Needed (Azure Static Web App, Authentication) #225

Open
@eavestn

Description

@eavestn

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
}
  1. Where should this file be placed?
  2. Is the above-shown JSON response indicative of a my-side configuration issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions