docs: document FGA support in authorizer-go and authorizer-js SDKs#64
Open
lakhansamani wants to merge 2 commits into
Open
docs: document FGA support in authorizer-go and authorizer-js SDKs#64lakhansamani wants to merge 2 commits into
lakhansamani wants to merge 2 commits into
Conversation
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)
✅ Deploy Preview for authorizerdev-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
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.mdgetPermissionssection (params,resource/scoperesponse table, browser + Node samples) and a Table of Contents entry.required_permissionsrows + FGA samples tovalidateJWTTokenandvalidateSession.getSessiondescription and added an FGA sample.docs/sdks/authorizer-go/index.mdRequiredPermissionsandGetPermissionsexamples.GetPermissions; annotatedValidateJWTToken/GetSession/ValidateSessionwith the FGA option.docs/core/authorization.md_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-guideare unrelated to these changes.