
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@zestic/oauth-expo
Advanced tools
OAuth 2.0 authentication library for Expo and React Native applications, built on top of @zestic/oauth-core.
npm install @zestic/oauth-expo @zestic/oauth-core
import React from 'react';
import { ExpoOAuthAdapter, OAuthCallbackScreen } from '@zestic/oauth-expo';
import type { ExpoOAuthConfig } from '@zestic/oauth-expo';
// Configure your OAuth provider
const config: ExpoOAuthConfig = {
clientId: 'your-client-id',
redirectUri: 'yourapp://oauth/callback',
scopes: ['read', 'write'],
scheme: 'yourapp',
path: 'oauth/callback',
endpoints: {
authorization: 'https://provider.com/oauth/authorize',
token: 'https://provider.com/oauth/token',
revocation: 'https://provider.com/oauth/revoke',
},
};
// Initialize the OAuth adapter
const oauthAdapter = new ExpoOAuthAdapter(config);
// Use in your app
export default function App() {
const handleLogin = async () => {
try {
const result = await oauthAdapter.authenticate();
console.log('Authentication successful:', result);
} catch (error) {
console.error('Authentication failed:', error);
}
};
return (
<OAuthCallbackScreen
config={config}
onSuccess={(tokens) => console.log('Success:', tokens)}
onError={(error) => console.error('Error:', error)}
/>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
Apache-2.0
Made with create-react-native-library
FAQs
Library for using oauth-core with Expo and React Native
We found that @zestic/oauth-expo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.