question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Access Control Allow Credentials for functions and web apps.

See original GitHub issue
enable_cors ["*"]

Results in: Unhandled exception. System.UriFormatException: Invalid URI: The format of the URI could not be determined.

From the Azure Portal:

To allow all, use “*” and remove all other origins from the list.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ctolkiencommented, Sep 9, 2020

I tried and failed, need a better grasp of F#. Will have to pass on finishing this myself.

1reaction
ctolkiencommented, Jul 6, 2020

@isaacabraham - yes that maps to the supportCredentials propery on the CorsSettings object.

I’ll re-open / rename this ticket to track the work of adding that in?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable Access-Control-Allow-Credentials header in Azure ...
On the Azure Portal, navigate to your Web App. Navigate to API > CORS. There is now a checkbox for Enable Access-Control-Allow-Credentials ....
Read more >
Access-Control-Allow-Credentials - HTTP - MDN Web Docs
The Access-Control-Allow-Credentials header works in conjunction with the XMLHttpRequest.withCredentials property or with the credentials option ...
Read more >
Note needed about Enabling Access-Control-Allow- ...
Since the az functionapp cors command allows adding/removing/showing origin URLs, I was expecting this same command to allow enabling ...
Read more >
Azure Functions Access-Control-Allow-Credentials with CORS
When a client sends an Origin header to the server, the client would expect a result with the Access-Control-Allow-Origin header with a value...
Read more >
Simplifying security for serverless and web apps with Azure ...
The Access-Control-Allow-Credentials header can also be enabled in the local Functions host for development purposes, thanks to a fantastic.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found