Skip to content

Update Web SDK Auth page with OAuth info#344

Merged
nathaniel-furniss-glean merged 1 commit intomainfrom
web-sdk-oauth
Feb 13, 2026
Merged

Update Web SDK Auth page with OAuth info#344
nathaniel-furniss-glean merged 1 commit intomainfrom
web-sdk-oauth

Conversation

@nathaniel-furniss-glean
Copy link
Contributor

@nathaniel-furniss-glean nathaniel-furniss-glean commented Feb 13, 2026

This PR adds info on how to get Glean tokens for Web SDK authentication with an Oauth access token

I used Tabs instead of making the page really long and harder to navigate. One downside of this is that I had to remove the sub headings from the table of contents, because the headers inside a tab are displayed, but are not clickable for the unselected tabs, which feels broken (long standing issue).

This is why you see a lot of <h3>s in the diff, and also then why the TabItems have a <div class="markdown">, otherwise styles are not applied correctly. It ain't pretty in the code, but it's pretty on the page 😇

Screenshots

Screenshot 2026-02-12 at 10 43 22 PM Screenshot 2026-02-12 at 10 43 50 PM

@nathaniel-furniss-glean nathaniel-furniss-glean requested a review from a team as a code owner February 13, 2026 06:53
@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
glean-developer-site Ready Ready Preview, Comment Feb 13, 2026 7:32am

Request Review

Add to your page's `<head>`:

```html
<script
Copy link
Contributor

Choose a reason for hiding this comment

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

Very minor but is there a reason this isn't just a single line:

<script defer src="https://{GLEAN_APP_DOMAIN}/embedded-search-latest.min.js"></script>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I’m guessing to make it easier to read/see the attrs that are needed?

@nathaniel-furniss-glean nathaniel-furniss-glean merged commit 303dd9e into main Feb 13, 2026
3 checks passed
@nathaniel-furniss-glean nathaniel-furniss-glean deleted the web-sdk-oauth branch February 13, 2026 17:18
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