-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Docs] Add auth_provider_hint to authentication docs #104132
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
I was always hesitating to document this option to keep the right to change it at any time. But it seems we recommend it to our users in various corner cases more and more now that makes it a de facto public API we have to support anyway, so 👍 .
@@ -65,6 +65,10 @@ image::user/security/images/kibana-login.png["Login Selector UI"] | |||
|
|||
For more information, refer to <<authentication-security-settings, authentication security settings>>. | |||
|
|||
TIP: If you have multiple authentication providers configured, you can use the `auth_provider_hint` URL query parameter to create a deep | |||
link to any provider and bypass the Login Selector UI. Using the `kibana.yml` above as an example, you can add `?auth_provider_hint=basic1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
optional nit: we may want to also add that it would work even if this particular option isn't displayed in Login Selector UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's good to know that. I think in the interest of brevity I will leave it as-is, but if we get questions about that down the road we can always add it 👍
Some users want to show the login selector, but also to craft specific URLs for individual authentication providers. This is actually as of 7.11+ with the
auth_provider_hint
URL query parameter.This PR adds a tip to the Kibana Authentication docs to mention that parameter.
Docs preview: https://kibana_104132.docs-preview.app.elstc.co/diff