Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@magic-ext/react-native-expo-oauth
Advanced tools
Magic SDK OAuth Extension for Expo React Native environments.
With the Magic JavaScript SDK OAuth extension, you can plug into your favorite social login providers with one, easy-to-use API.
License ยท Changelog ยท Contributing Guide
See the developer documentation to learn how to get started with OAuth in Magic SDK.
Integrating your app with OAuth will require our client-side NPM package and OAuth extension:
# Via NPM:
npm install --save @magic-ext/react-native-expo-oauth
# Via Yarn:
yarn add @magic-ext/react-native-expo-oauth
Sign up or log in to the developer dashboard to receive API keys that will allow your application to interact with Magic's authentication APIs.
Then, you can start authenticating users with just one method!
import React from 'react';
import { Magic } from '@magic-sdk/react-native-expo';
import { OAuthExtension } from "@magic-ext/react-native-expo-oauth";
import { SafeAreaProvider } from 'react-native-safe-area-context';
const magic = new Magic(apiKey, {
endpoint: 'https://box.magic.link',
extensions: [
new OAuthExtension()
],
});
export default function App() {
return <>
<SafeAreaProvider>
{/* Render the Magic iframe! */}
<magic.Relayer />
{...}
</SafeAreaProvider>
</>
}
// Somewhere else in your code...
await magic.auth.loginWithEmailOTP({ email: 'your.email@example.com' });
โ โ ๐ Check out some of our React Native Demo apps for inspiration! ๐
FAQs
Magic SDK OAuth Extension for Expo React Native environments.
The npm package @magic-ext/react-native-expo-oauth receives a total of 913 weekly downloads. As such, @magic-ext/react-native-expo-oauth popularity was classified as not popular.
We found that @magic-ext/react-native-expo-oauth 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.