天道酬勤,学无止境

azure-application-settings

Azure AD application takes time to activate?

I am creating an application in Azure tenant with Microsoft graph API. At the same time, I am also uploading a self-signed certificate/ Client secret for an application. The OAuth client can request an access token by providing the user assertion. User assertion is self-signed x509 certificate. I am observing different behaviors when trying to get access token using user assertion: When tried to get access token for an application after 7-8 hrs of registration process, I am able to successfully get the access token. When tried to get access token for an immediately registered application, it

2022-03-23 08:56:52    分类:问答    azure   azure-active-directory   microsoft-graph-api   azureportal   azure-application-settings

Azure App Service (Node) CORS origins will not work 无论我在哪里添加它们(Azure App Service (Node) CORS origins won't work no matter where I add them)

问题 Azure CORS 设置似乎根本不起作用,除非我指定 * any 并且所有请求都将返回 "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status." 我已经添加了我的生产 + 开发环境前端的 CORS http + https 变体。 我还在 web.config 中添加了它们。 <add name="Access-Control-Allow-Origin" value="https://LINK"/> <add name="Access-Control-Allow-Origin" value="https://LINK/"/> 它变得非常不可预测和不可靠。 该应用程序配置为允许所有来源: app.options('/', function(req, res) { res.setHeader('Access-Control-Allow-Origin', '*'); res.setHeader('Access-Control-Allow-Methods', '*'); res.setHeader('Access-Control-Allow-Headers', '*')

2022-01-25 01:12:28    分类:技术分享    node.js   azure   cors   azure-application-settings

Azure App Service (Node) CORS origins won't work no matter where I add them

The Azure CORS settings doesn't seem to work at all unless I specify * any and all requests will return "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status." I've added my CORS http + https variants of both my production + dev environment frontend. I have also added them in the web.config. <add name="Access-Control-Allow-Origin" value="https://LINK"/> <add name="Access-Control-Allow-Origin" value="https://LINK/"/> It is becoming extremely unpredictable and unreliable. The application is configured to allow all

2022-01-22 05:46:39    分类:问答    node.js   azure   cors   azure-application-settings