Skip to content

docs: document FGA support in authorizer-go and authorizer-js SDKs#64

Open
lakhansamani wants to merge 2 commits into
mainfrom
docs/fga-v2.3.0
Open

docs: document FGA support in authorizer-go and authorizer-js SDKs#64
lakhansamani wants to merge 2 commits into
mainfrom
docs/fga-v2.3.0

Conversation

@lakhansamani
Copy link
Copy Markdown
Contributor

Summary

Documents the client-facing Fine-Grained Authorization (FGA) capabilities added to the Go and JS SDKs (authorizer-go#16, authorizer-js#36), plus a small dashboard note on the authorization page.

Changes

docs/sdks/authorizer-js/functions.md

  • New getPermissions section (params, resource/scope response table, browser + Node samples) and a Table of Contents entry.
  • Added required_permissions rows + FGA samples to validateJWTToken and validateSession.
  • Updated getSession description and added an FGA sample.

docs/sdks/authorizer-go/index.md

  • New "Step 4: Fine-grained authorization (FGA)" section with RequiredPermissions and GetPermissions examples.
  • Updated Available Methods: added GetPermissions; annotated ValidateJWTToken / GetSession / ValidateSession with the FGA option.

docs/core/authorization.md

  • Tip noting the _authz_ admin mutations are also available from the dashboard UI.

Naming kept aligned with the API and SDKs throughout: getPermissions/GetPermissions, required_permissions/RequiredPermissions, { resource, scope }.

Verification

  • npm run build (Docusaurus) ✅ — compiles successfully. Pre-existing broken-link warnings on /core/sso-guide are unrelated to these changes.

Add fine-grained authorization (FGA) documentation to the SDK reference:

- authorizer-js functions.md: new getPermissions section, required_permissions
  param rows + samples for getSession, validateJWTToken, validateSession
- authorizer-go index.md: GetPermissions in available methods + FGA usage
  examples (RequiredPermissions and GetPermissions)
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 6, 2026

Deploy Preview for authorizerdev-docs ready!

Name Link
🔨 Latest commit 52317ad
🔍 Latest deploy log https://app.netlify.com/projects/authorizerdev-docs/deploys/6a23b2fb15d34f0008f8dc14
😎 Deploy Preview https://deploy-preview-64--authorizerdev-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant