Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook for verifying OAuth authentication
useVerifyOAuth
useAuthenticateWithOAuth
import { useVerifyOAuth } from "@getpara/react-native-wallet";
import { useVerifyOAuth } from "@getpara/react-native-wallet"; import * as WebBrowser from "expo-web-browser"; function OAuthStep() { const { verifyOAuthAsync, isPending } = useVerifyOAuth(); const handleVerify = async () => { try { const result = await verifyOAuthAsync({ method: "GOOGLE", appScheme: "myapp", onOAuthUrl: (url) => WebBrowser.openBrowserAsync(url), }); } catch (err) { console.error(err); } }; return <Button title="Verify with Google" onPress={handleVerify} disabled={isPending} />; }