chore: expose a http module from useAuthentication instead of fetch#100
Merged
brionmario merged 12 commits intoasgardeo:mainfrom Jul 9, 2025
Merged
chore: expose a http module from useAuthentication instead of fetch#100brionmario merged 12 commits intoasgardeo:mainfrom
http module from useAuthentication instead of fetch#100brionmario merged 12 commits intoasgardeo:mainfrom
Conversation
…er and components overview
…d preferences details
… for tokenValidation and preferences props
…clarity and consistency
…nValidation and preferences
…n QUICKSTART and README docs: modify default scopes format in ASGardeoProvider documentation
http modulehttp module from useAuthentication instead of fetch
savindi7
approved these changes
Jul 9, 2025
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.
Purpose
This pull request introduces changes to enhance the functionality of the Asgardeo SDKs, improve documentation, and refine configuration examples. The most significant updates include extending the
getAccessTokenmethod to support session-specific tokens, updating documentation for the React SDK, and refining environment variable examples in the Next.js SDK.Enhancements to SDK Functionality:
getAccessTokenmethod across multiple classes and interfaces to accept an optionalsessionIdparameter, enabling retrieval of access tokens for specific sessions. (packages/browser/src/__legacy__/client.ts- [1] [2];packages/browser/src/__legacy__/clients/main-thread-client.ts- [3];packages/browser/src/__legacy__/helpers/authentication-helper.ts- [4];packages/browser/src/__legacy__/models/client.ts- [5];packages/javascript/src/AsgardeoJavaScriptClient.ts- [6];packages/javascript/src/models/client.ts- [7]Documentation Updates:
packages/react/docs/README.md- [1];packages/react/docs/components/OVERVIEW.md- [2];packages/react/docs/components/asgardeo-provider.md- [3]Configuration Refinements:
<your-org-name>with<your-organization-name>in Next.js SDK documentation. (packages/nextjs/QUICKSTART.md- [1];packages/nextjs/README.md- [2]Related Issues
@asgardeo/react&@asgardeo/nextjs#81Related PRs
Checklist
Security checks