Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@8base/auth
Advanced tools
The 8base Auth package contains a provider with authentication state and auth helpers.
The 8base Auth package contains a provider with authentication state and auth helpers.
Extends React.Component
Provides access to the authentication state.
props
AuthProviderPropschildren
React$Node Children of the provider.authClient
AuthClient Instance of the auth client.import { AuthContext, AuthProvider, type AuthContextProps } from '@8base/auth';
import { WebAuth0AuthClient } form '@8base/web-auth0-auth-client';
const authClient = new WebAuth0AuthClient({
domain: 'domain',
clientId: 'client-id',
redirectUri: `${window.location.origin}/auth/callback`,
logoutRedirectUri: `${window.location.origin}/auth`,
workspaceId: 'workspace-id',
});
<AuthProvider authClient={ authClient }>
...
<AuthContext.Consumer>
{
(auth: AuthContextProps) => (<div />)
}
</AuthContext.Consumer>
...
</AuthProvider>
FAQs
The 8base SDK provides an easy way to implement authentication in your client application. Whether you're using 8base Authentication, Auth0, or an OpenID provider, the `Auth` module helps in managing the authentication flow.
The npm package @8base/auth receives a total of 365 weekly downloads. As such, @8base/auth popularity was classified as not popular.
We found that @8base/auth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.