Questions tagged [azure-static-web-app]
340 questions
-1
votes
0 answers
How can i host HTML and CSS web on Azure Static Web Apps with JavaScript animations?
I have a problem with hosting app on Azure Web App. I need to host an app with javascript files.
Thanks
I am able to host plain HTML and CSS website when I have all the files in the "src" folder. I have these relative paths in the "head" part of the…
-1
votes
2 answers
Unable to read config values from static web app
I have deployed a Static Web App in Azure with the following configuration settings:
I have the following authConfig.ts:
import { Configuration } from "@azure/msal-browser";
// Config object to be passed to Msal on creation
export const…

user989988
- 3,006
- 7
- 44
- 91
-1
votes
2 answers
Staging deployment with Bitbucket pipeline and Azure Static Web App
I could successfully deploy my project into the production environment using the provided documentation https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/static-web-apps/bitbucket.md
pipelines:
branches:
main:
- step:
…
-1
votes
1 answer
Azure Static Webb App restiction access for unauthenticated users
I am trying to restrict access to certain pages of my app to authenticated users only. Hovewer, if anonymous user clicks page for first time it loads and after refresh user is getting 401 error.
Here is my react router

Sergiy Kostenko
- 273
- 1
- 2
- 11
-1
votes
1 answer
Is there a way to use a parameter named 'code' in my Azure Function?
I am using Azure Functions as the back end for a static web app. In order to connect to a 3rd party platform, I need to go through the OAuth Authorization Code flow, which includes the third party calling my function with a query parameter named…

lgaud
- 2,430
- 20
- 30
-1
votes
2 answers
How to add a custom domain to Azure static web app by api
I need to add custom domain to Azure static web app by an automate process. Eg: I have a web app and it has admin side and user side. A new user registered to the admin app they can add a new subdomain to the user app.
So I want to add that created…

SA_VL
- 31
- 4
-1
votes
1 answer
What is the cost-effective way to host static web application in azure in private network
I need to host a static web application in azure in a private network.
Currently, I'm using web app premium to host static web applications in a private network. But it an expensive, I need to know is there a cost-effective way to deploy static web…

Dinuka Wanasinghe
- 755
- 2
- 7
- 22
-1
votes
1 answer
Can I use Azure Functions V3 Azure static web API
When creating an Azure Static Site using the Blazor settings, you get an option to configure an API. My repository has an Azure Functions V3 API, and I want to use that. After making all the definitions, the build and deploy workflow fails. When…

GilShalit
- 6,175
- 9
- 47
- 68
-1
votes
1 answer
How to restructure an azure functions project that's deployed with azure static web apps?
I'm working on an API that uses azure functions which gets deployed to an azure static web app using https://github.com/Azure/static-web-apps-deploy. I want to restructure my api side in order to separate my source files from my build files, but my…

avenmia
- 2,015
- 4
- 25
- 49
-2
votes
2 answers
CORS problem with Passport.js implemented in Azure Function in Static Web App. Passport returns 401
I am working on a project which uses the Azure Static Web App offering. I have implemented a Passport.js authentication strategy powered by azure-function-express which receives a JWT in an Authentication header, validates the JWT, and returns user…

CashbyCoder
- 61
- 1
- 8