credential flag discussion
See original GitHub issuediscussed with @lmazuel, starting off discussion by saying: we should move to what Java has. i.e., one flag --credential-types
, where you can specify a list of TokenCredential
, AzureKeyCredential
, or None
. Default to TokenCredential
, since all mgmt plane code uses TokenCredential
, and as far as we know, all data plane libraries use credentials as well (even if they don’t, we can talk to people since data plane is our team).
Java’s credential types flag also accepts multiple values, and I think this is something all language should have as well, is this doable?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
566239 - refer to "withCredentials flag" instead of "credentials ...
An error appears in the console, saying: "A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true."...
Read more >edge://flags/#edge-windows-credentials-for-http-auth gone
Hi, how to Enable edge://flags/#edge-windows-credentials-for-http-auth type of behavior as that flag seems to be gone in 84.0.495.2 (or some ...
Read more >Reducing the pain of the credentials mode - W3C TAG
Reducing the pain of the credentials mode. Use cases. These proposed new values come out of discussions in the W3C TAG related to...
Read more >Credential Management Level 1 - W3C
An origin requires user mediation if its flag is set to true . Note: The importance of user mediation is discussed in more...
Read more >[SOLVED] Access-Control-Allow-Credentials' header is '
Summary I got Access-Control-Allow-Credentials' header is '' in response ... doesn't pass access control check: Credentials flag is 'true', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We should consider adding support for https://swagger.io/docs/specification/authentication/ properties in Autorest, so that autorest/modelerfour can pass the information to all the languages about what type of credentials we should generate.
CC: @daviwil @timotheeguerin @lmazuel
Test project in autorest.csharp - https://github.com/Azure/autorest.csharp/tree/feature/v3/test/TestProjects/PublicClientCtor