Uh oh!
There was an error while loading. Please reload this page.
chore(docs): add Setup section to Authentication page - #284
Conversation
This comment was marked as low quality.
This comment was marked as low quality.
8977b30 to
e6ad079CompareThere was a problem hiding this comment.
Code Review
This pull request updates the authentication documentation by adjusting the sidebar position and adding a new 'Setup' section with import examples for Go, Java, and JavaScript. A review comment suggests expanding the JavaScript import list to include common token providers required by subsequent examples on the page to ensure the setup section is a complete reference.
Uh oh!
There was an error while loading. Please reload this page.
b5359dc to
c9b921dCompareThere was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/sdks/authentication.mdx`:
- Around line 41-47: The imports shown for the JavaScript TabItem are missing
clientCredentialsTokenProvider; update the import statement that currently lists
authTokenInterceptor and OpenTDF to also include clientCredentialsTokenProvider
so the first example can use clientCredentialsTokenProvider alongside
authTokenInterceptor and OpenTDF.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: cc85cdac-4c00-4be9-8faf-8b73a24fc6ad
📒 Files selected for processing (1)
docs/sdks/authentication.mdx
Uh oh!
There was an error while loading. Please reload this page.
jp-ayyappan
left a comment
There was a problem hiding this comment.
based on prior approval
Show base imports for Go, Java, and JS so readers know where sdk, SDKBuilder, and authTokenInterceptor come from before hitting the first code example. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cf13705 to
2608c1bCompareUh oh!
There was an error while loading. Please reload this page.
Summary
Add a Setup section to the Authentication page showing base imports for Go, Java, and JS so readers know where
sdk,SDKBuilder, andauthTokenInterceptorcome from before hitting the first code example.Part of #274
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
New Features