Skip to content

Conversation

brionmario
Copy link
Member

Purpose

This pull request introduces a new HTTP utility to the @asgardeo/browser package and makes it available for use in the React package. The main focus is to simplify HTTP requests by exposing a convenient API for single and multiple requests using the existing authentication client.

New HTTP utility integration:

  • Added a new http utility in packages/browser/src/utils/http.ts, providing request and requestAll methods that wrap the AsgardeoSPAClient's HTTP functionality.
  • Exported the new http utility from packages/browser/src/index.ts for external use.

React package API updates:

  • Re-exported the http utility from @asgardeo/browser in packages/react/src/index.ts, making it available to React consumers.

Related Issues

Related PRs

  • N/A

Checklist

  • e2e cypress tests locally verified.
  • Manual test round performed and verified.
  • UX/UI review done on the final implementation.
  • Documentation provided. (Add links if there are any)
  • Unit tests provided. (Add links if there are any)
  • Integration tests provided. (Add links if there are any)

Security checks

@brionmario brionmario merged commit 41d367d into asgardeo:main Aug 19, 2025
2 of 4 checks passed
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.

2 participants