-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added necessary basic auth option to examples #42812
Conversation
This comment has been minimized.
This comment has been minimized.
🙈 The PR is closed and the preview is expired. |
@c15yi Hi, as far as I recall, basic authentication is enabled by default if it is the only authentication mechanism around, are those specific examples do not work if you don't use anything else like |
@michalvavrik Hi Michal, I think it is OK to encourage users to enable basic authentication with the property even if it may not be necessary, as it can be a bit confusing otherwise, for example, it works now but then stops working the moment you added another mechanism, what do you think ? |
I'd expect basic auth to be implicitly enabled, however it depends on user extensions / configuration. I don't know other mechanisms present. Problem I can see with changes is that this TL;DR; I think it's fine as long as text makes it clear this is one of options and you have others. IMHO little tweak of added text is necessary. |
Actually, that is a good point indeed. So I'm not sure what to do with this PR. @c15yi Did you find you had to enable it because you were combining Basic with OIDC ? May be we should have a Note added instead here, clarifying that if you use these properties to support Basic authentication mechanism, then you must explicitly enable basic authentication with this property if you also use other authentication mechanisms |
In our project we also use OIDC and basic auth was on top. So I guess, my change in the documentation is not necessary. I didn't know, that basic auth is automatically enabled, but only iff there is no other auth mechanism configured. I updated my change, to mention the default behaviour. |
This comment has been minimized.
This comment has been minimized.
Hi @c15yi Thanks, but I think it needs to be presented differently, add a dedicated |
@sberyozkin any chance you could drive this puppy home before tomorrow evening? |
Status for workflow
|
No description provided.