-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Feature
Copy link
Labels
@asgardeo/reactIssues related to the `React.js` wrapper of Asgardeo JavaScript SDKIssues related to the `React.js` wrapper of Asgardeo JavaScript SDKType/New Feature
Milestone
Description
Is your feature request related to a problem? Please describe.
The current SDK requires verbose configuration and lacks a DX-optimized API for redirection-based authentication. Additionally, it doesn’t provide drop-in UI components for common scenarios, making initial setup slower for developers.
Describe the solution you would prefer
Implement a minimal, intuitive redirect-based authentication flow with:
- ✅ Simplified configuration (e.g.,
clientID,baseUrl,signInRedirectURL,signOutRedirectURL) - ✅ A unified
useAsgardeohook for accessingsignIn,signOut,isSignedIn, anduserinfo - ✅ Drop-in components:
<SignInButton /><SignOutButton /><SignedIn>{children}</SignedIn><SignedOut>{children}</SignedOut>
This should allow developers to add authentication to their apps with minimal effort and no deep IAM knowledge.
Additional context
This serves as the foundational release in the SDK revamp effort, focusing solely on redirection flows. Future issues will introduce in-app (popup/native) login support and advanced configuration overrides.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@asgardeo/reactIssues related to the `React.js` wrapper of Asgardeo JavaScript SDKIssues related to the `React.js` wrapper of Asgardeo JavaScript SDKType/New Feature