Update Web SDK Auth page with OAuth info#344
Merged
nathaniel-furniss-glean merged 1 commit intomainfrom Feb 13, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
61a036c to
4105cb5
Compare
4105cb5 to
4dddc31
Compare
travis-hoover-glean
approved these changes
Feb 13, 2026
| Add to your page's `<head>`: | ||
|
|
||
| ```html | ||
| <script |
Contributor
There was a problem hiding this comment.
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>
Contributor
Author
There was a problem hiding this comment.
I’m guessing to make it easier to read/see the attrs that are needed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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>sin 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