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.

credential flag discussion

See original GitHub issue

discussed 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
ShivangiRejacommented, Feb 9, 2021

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

1reaction
chamonscommented, Mar 3, 2021
Read more comments on GitHub >

github_iconTop 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 >

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