Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
6c928c8
feat: update sdk v10
tuna1207 Aug 21, 2025
61c1d80
feat: update demo use sdk v10
tuna1207 Aug 21, 2025
2c6287d
feat: update request method
tuna1207 Aug 21, 2025
ea8506c
feat: add manage mfa method
tuna1207 Aug 21, 2025
0ba2bd5
fix: correct default includeUserDataInToken
tuna1207 Aug 26, 2025
94efcd9
fix: correct project config response
tuna1207 Aug 26, 2025
2a01585
fix: use type from no-modal
tuna1207 Aug 27, 2025
9dbf07b
feat: add analytics
tuna1207 Aug 28, 2025
61517de
feat: use chain namespace from package
tuna1207 Aug 28, 2025
3ca4aca
feat: using segment http instead of node sdk
tuna1207 Oct 9, 2025
9d2a2cb
feat: update sdk typing to not have redundant dependencies
tuna1207 Oct 9, 2025
b5828cb
feat: update expo demo
tuna1207 Oct 9, 2025
ae688b4
feat: update bare example package version
tuna1207 Oct 9, 2025
03e9feb
feat: update metro config in bare example
tuna1207 Oct 9, 2025
e1ca461
feat: add sfa support
tuna1207 Aug 22, 2025
5dfe336
feat: remove sfa flag on logout
tuna1207 Aug 22, 2025
963d7d0
fix: correct keystore set order
tuna1207 Aug 22, 2025
19d0d70
fix: init remove sfa flag if logged out
tuna1207 Aug 22, 2025
f1d9559
fix: correct sfa set
tuna1207 Aug 22, 2025
1d6faf8
fix: handle corrupted keystore state
tuna1207 Dec 16, 2025
f51ad41
feat: add sfa support
tuna1207 Aug 22, 2025
1c10a75
feat: add web3auth provider
tuna1207 Aug 24, 2025
42101ed
feat: add react hooks
tuna1207 Aug 24, 2025
f28bbf8
fix rn bare example
yashovardhan Dec 7, 2025
cd014c3
Fix expo example
yashovardhan Dec 7, 2025
f359135
Add other custom auth examples
yashovardhan Dec 9, 2025
1dd5917
fix: package dependencies
tuna1207 Dec 16, 2025
68a92e6
fix: rpc target
tuna1207 Dec 16, 2025
513335c
fix: demo package
tuna1207 Dec 16, 2025
7d8f17e
Fix rn bare example
yashovardhan Feb 10, 2026
266b9ac
Fix rn expo example
yashovardhan Feb 10, 2026
c23a156
Add bare hooks example
yashovardhan Apr 8, 2026
73442d0
Fix isConnected hook
yashovardhan Apr 8, 2026
ef9098e
Add expo hooks example
yashovardhan Apr 14, 2026
bc77eba
Add hooks examples
yashovardhan Apr 14, 2026
05e1af5
feat: update fetch project config error
tuna1207 Jan 5, 2026
56678f0
feat: handle v10 provider
tuna1207 Jan 8, 2026
dc25d2e
feat: handle signer
tuna1207 Jan 8, 2026
0816c2a
feat: use eoa provider
tuna1207 Jan 8, 2026
d9d2cb7
feat: update rn bare demo
tuna1207 Jan 8, 2026
8e48244
feat: handle shim
tuna1207 Jan 8, 2026
adbb3d7
fix: example
tuna1207 Jan 8, 2026
1f49952
feat: update rn bare aggregate verifier demo
tuna1207 Feb 18, 2026
4cae5c5
fix: undefined check
tuna1207 Feb 19, 2026
24beeba
fix: sfa login session
tuna1207 Feb 19, 2026
1c1e02e
feat: sfa firebase demo update
tuna1207 Feb 19, 2026
618a785
fix: missing sessionnamespace
tuna1207 Feb 19, 2026
2c3042b
fix: expo metro shim
tuna1207 Feb 19, 2026
d36feef
feat: update rn expo example
tuna1207 Feb 19, 2026
8805743
chore: update package lock
tuna1207 Feb 19, 2026
224deab
Update hooks examples
yashovardhan Apr 21, 2026
74466a0
Fix issues for polyfills for no-modal sdk
yashovardhan Apr 22, 2026
4e24096
Fix connected event on login
yashovardhan Apr 22, 2026
59c3088
Fix error catch for init
yashovardhan Apr 22, 2026
1be5e12
Fix demos
yashovardhan Apr 22, 2026
25605ef
Fix demos
yashovardhan Apr 22, 2026
6d7445c
remove cursor errors
yashovardhan Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Web3Auth is where passwordless auth meets non-custodial key infrastructure for W
Checkout the official [Web3Auth Documentation](https://web3auth.io/docs) and [SDK Reference](https://web3auth.io/docs/sdk/pnp/react-native) to get started!

## 💡 Features

- Plug and Play, OAuth based Web3 Authentication Service
- Fully decentralized, non-custodial key infrastructure
- End to end Whitelabelable solution
Expand Down Expand Up @@ -99,42 +100,42 @@ web3authrnexample://openlogin

## 💥 Initialization & Usage

In your sign-in activity', create an `Web3Auth` instance with your Web3Auth project's configurations and
In your sign-in activity', create an `Web3Auth` instance with your Web3Auth project's configurations and
configure it like this:

### Expo Managed Workflow

```js
import * as WebBrowser from 'expo-web-browser';
import Web3Auth, { LOGIN_PROVIDER, OPENLOGIN_NETWORK } from "@web3auth/react-native-sdk";
import * as WebBrowser from "expo-web-browser";
import Web3Auth, { AUTH_CONNECTION, OPENLOGIN_NETWORK } from "@web3auth/react-native-sdk";

const web3auth = new Web3Auth(WebBrowser, {
clientId,
network: OPENLOGIN_NETWORK.TESTNET, // or other networks
clientId,
network: OPENLOGIN_NETWORK.TESTNET, // or other networks
redirectUrl: resolvedRedirectUrl,
});
const info = await web3auth.login({
loginProvider: LOGIN_PROVIDER.GOOGLE,
redirectUrl: resolvedRedirectUrl,
mfaLevel: 'mandatory', // optional
curve: 'secp256k1', // optional
authConnection: AUTH_CONNECTION.GOOGLE,
mfaLevel: "mandatory", // optional
curve: "secp256k1", // optional
});
```

### Bare Workflow

```js
import * as WebBrowser from '@toruslabs/react-native-web-browser';
import Web3Auth, { LOGIN_PROVIDER, OPENLOGIN_NETWORK } from "@web3auth/react-native-sdk";
import * as WebBrowser from "@toruslabs/react-native-web-browser";
import Web3Auth, { AUTH_CONNECTION, OPENLOGIN_NETWORK } from "@web3auth/react-native-sdk";

const web3auth = new Web3Auth(WebBrowser, {
clientId,
network: OPENLOGIN_NETWORK.TESTNET, // or other networks
clientId,
network: OPENLOGIN_NETWORK.TESTNET, // or other networks
redirectUrl: resolvedRedirectUrl,
});
const info = await web3auth.login({
loginProvider: LOGIN_PROVIDER.GOOGLE,
redirectUrl: resolvedRedirectUrl,
mfaLevel: 'mandatory', // optional
curve: 'secp256k1', // optional
authConnection: AUTH_CONNECTION.GOOGLE,
mfaLevel: "mandatory", // optional
curve: "secp256k1", // optional
});
```

Expand Down
2 changes: 2 additions & 0 deletions demo/rn-bare-aggregate-verifier-example/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
74 changes: 74 additions & 0 deletions demo/rn-bare-aggregate-verifier-example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
**/.xcode.env.local

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof
.cxx/
*.keystore
!debug.keystore

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

**/fastlane/report.xml
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output

# Bundle artifact
*.jsbundle

# Ruby / CocoaPods
**/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions demo/rn-bare-aggregate-verifier-example/.watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading