Skip to content

Conversation

@sberyozkin
Copy link
Member

@sberyozkin sberyozkin commented Jun 15, 2023

This PR adds more key words to OIDC docs to improve their searchability.
Every OIDC doc gets extra oidc, oauth2 tags because in reality Quarkus OIDC support both oidc and oauth2. jwt is also added since it is a base block of these technologies, so when users type jwt, they should be able to see OIDC docs too (in fact for now I added it to the OIDC services doc only which is probably enough).
Additionally the well-known providers doc gets an extra key word per every supported provider as discussed as F2F (CC @maxandersen )

@github-actions
Copy link

github-actions bot commented Jun 15, 2023

🙈 The PR is closed and the preview is expired.

description: This guide demonstrates how your Quarkus application can use a LDAP directory to store your user identities.
keywords: security
- title: Using OpenID Connect (OIDC) to Protect Service Applications
url: /guides/security-openid-connect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This URL is the 2.7 state.

The 3.1 URL for this guide is: /security-oidc-bearer-token-authentication-tutorial

url: /guides/security-ldap
description: This guide demonstrates how your Quarkus application can use a LDAP directory to store your user identities.
keywords: security
- title: Using OpenID Connect (OIDC) to Protect Service Applications
Copy link
Contributor

@michelle-purcell michelle-purcell Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title is also obsolete.

The current 3.1 title is Protect a web application by using OpenID Connect (OIDC) authorization code flow.

Copy link
Contributor

@michelle-purcell michelle-purcell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sberyozkin - Keywords LGTM 👍

Although, it looks like the current data/guides-latest.yaml is outdated as per my comments.
@ebullient - Does this file get dynamically updated by the doc builds? Should we be updating this manually every time we rename and redirect a Quarkus adoc file?

FYI: For SEO, where possible, we try to include the most popular keywords, phrases, or terms that customers might use to find stuff in the main title, headings, abstract, and main body of the content source. Google and other well-known search engines index more content elements than the Quarkus search function, which only seems to observe keywords/terms in the titles and abstract of the guide source plus other external files like the one above. See related GitHub issue #33215.

@sberyozkin
Copy link
Member Author

sberyozkin commented Jun 15, 2023

I tried to address your comments and got confused, because, right now:

  • bearer and code flow authentication docs have different title structure
  • bearer tutorial and ref guides docs have different file name structure
  • impossible to find a code flow guide when landing on one of the bearer token docs
  • impossible to find a bearer token tutorial when landing on the bearer token ref doc

The last 2 points are not really relevant for this work, but I'll just take care of them along the way. The first 2 ones are relevant :-), and after quarkusio/quarkus#34070, file names would have to change too :-)

I propose that in this PR we just take care of the tags/key words, as it is really a standalone PR, to address your comments properly we need to do some work first in the main repo.
Next, I'll open a PR to the main repo addressing the above 4 points and ask you to review (or we can look at doing it as part of quarkusio/quarkus#34070 ?)
And then I'll open a PR here to address your comments above

Does it sound reasonable ?
thanks

@sberyozkin
Copy link
Member Author

Let me merge this one as I've noticed Michelle approved, @michelle-purcell I'll follow up with some updates in the main repo as suggested above, and then I'll ping you to discuss how to best manage your suggestions above, thanks

@sberyozkin sberyozkin merged commit ae3f68b into quarkusio:develop Jun 20, 2023
@sberyozkin sberyozkin deleted the well_known_oidc_providers_tags branch June 20, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants