Questions tagged [azure-static-web-app]

340 questions
0
votes
1 answer

Auto Signin after Signing up using invitation signup policy

I am not this guy but I experience the same thing here. Also, there is this question but the author there uses a different flow, so I don't really know if it fits. In short, I implemented the flow invite-via-email. I could generate the invitation…
Lam Le
  • 1,489
  • 3
  • 14
  • 31
0
votes
1 answer

How do I configure my Azure Function's environment so that I can use the CosmosDB client in Python code?

I am building an Azure Static App with an API written in Python. I'd like to use the Cosmos Client. I'm able to configure my local machine so that local development works: I installed Azure Cosmos into the Python virtual environment: pip install…
0
votes
1 answer

joining an azure static web app on one repository with the API on another repository

I built a static web app and the html page is on one of my respositories. I built the API and it is on another repository. How do I link the two? Can I link the two? Or should I build a new static web app in the API repository?
greg00m
  • 1
  • 1
0
votes
1 answer

Does Azure offer client-side kill switches for an Azure Static Web app?

I'm building a static web app using React. Does Azure offer a service that allows one to embed a function into my Javascript code that loads a small value into clients' browsers. The values are not in the code, but controlled via the Azure UI. That…
RyeGrain
  • 61
  • 6
0
votes
1 answer

Is there a command to create a local.settings.json file when building an Azure Static Web App?

I'm building a Azure static web app. I'd like to make use of app configurations. I've added several configurations to the UI. Is there a command that I can use to generate a file local.settings.json based on the current configurations I've typed…
RyeGrain
  • 61
  • 6
0
votes
1 answer

Deploy vue via gitlab ci to azure static web app (service)

I already feel like kind of an idiot for asking this question - maybe I'm unable to google the right terms. I want to archive a simple task - deploy a vue app via gitlab-ci to azure static web app (service). Can anyone provide me some information /…
Fabian
  • 2,693
  • 2
  • 21
  • 33
0
votes
0 answers

Azure Static Web App + Azure Function + PuppeteerSharp gives UnauthorizedAccessException

When I deploy my Azure Static Web App to Azure with an Azure Function which makes use of PuppeteerSharp, I see the following error in Application Insights: Exception while executing function: ProductsGet Access to the path 'C:\Program Files…
0
votes
1 answer

flask.request.remote_addr in Azure.functions

I am rewriting a PHP app to a Azure Static Web App and struggeling with some API functionality. In the old PHP Site, there are few AJAX API Calls and the API is using $_SERVER['REMOTE_ADDR'] to get the client IP. I know in flask was that…
0
votes
1 answer

How to fix SDK error when using AZ pipeline and Static Web App with .net 5 AZ Function back end

I am trying to use AZ Devops to deploy a Blazor WASM app with an in-process AZ function back end as stated in the question. I keep getting an error and am stuck. Any thoughts on how to get this to work would be appreciated. My Pipeline is a simple…
0
votes
1 answer

Adding authentication on Azure Static Web Apps

I have deployed a very simple Azure Static Web Apps in which I deploy a simple documentation site powered by mkdocs (HTML and CSS). I would like to know if it is possible to implement some kind of authentication through Azure AD/MSAL in which only…
0
votes
1 answer

azure static web app, how to have two different web apps (one prod and one non prod) building from the same git repo?

We have two static apps, one for production and one for non production (test). They just show a site down page for when our main site on AEM is down (using traffic manager to switch). The source is held in an Azure devops git repo. This is how it…
John Little
  • 10,707
  • 19
  • 86
  • 158
0
votes
1 answer

Securing a connection between an Azure static web app and a Azure Function

I have set up an Azure Static web app and an Azure function backend. I was under the impression from the docs (https://learn.microsoft.com/en-us/azure/static-web-apps/functions-bring-your-own) that if I linked the two and the azure function app…
0
votes
2 answers

Azure DevOps pipeline unable to deploy Blazor Wasm app to Static Web App due to package from private Nuget feed

I try to deploy a Blazor Wasm application from my Azure DevOps repo to an Azure static web app. My app is based on the standard template, but is also using a Nuget package hosted in private feed in Azure Artifacts. I have tried several combinations…
0
votes
1 answer

AzureDevops static website not finding NuGet packages from private feed

I have set up an Azure Static website, and use an AzureDevOps pipeline to push my Blazor application into it, however, I'm using some NuGet packages from a private feed, and even though I do a restore with that feed id on the build, it still says it…
Lex
  • 879
  • 3
  • 16
  • 27
0
votes
1 answer

Retrieving groups when authenticating Azure Static Websites

I have created an Azure Static Website and followed the instructions on how to add a basic Azure Authentication identity provider. I have a custom auth section : I have added groups to the ID Token : I am struggling to work out how to tell the…