# \[Archive\] React-native-sdk + auth0 (email passwordless)

**URL:** <https://builder.metamask.com/t/archive-react-native-sdk-auth0-email-passwordless/2343>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [October 15, 2022, 11:36am UTC](https://builder.metamask.com/t/archive-react-native-sdk-auth0-email-passwordless/2343 "2022-10-15T11:36:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.com/u/githubdiscussions)\
**Post date:** [October 15, 2022, 11:36am UTC](https://builder.metamask.com/t/archive-react-native-sdk-auth0-email-passwordless/2343/1 "2022-10-15T11:36:52Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **githubdiscussions** on 10/15/2022.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

Hey folks! I am currently implementing the react-native-sdk along with auth0 as provider with email-passwordless as auth flow and am currently stuck and hope to find help here.

**The current problem:**  
Although I specify jwt in the loginConfig, the popup window still appears which should not happen according to the documentation.

**What I would like to achieve:**  
I want to pass the idToken from auth0 to the web3auth sdk and without the popup window appearing.

**This is what my code currently looks like:**

https://auth0-domainUrl",  
login\_hint: "email-from-user",  
verifierIdField: "sub",  
id\_token: auth0Result.idToken,  
isVerifierIdCaseSensitive: false,  
},  
});"\>

```
// Initialize the Web3Auth.
const web3auth = new Web3Auth(WebBrowser, {
clientId: “clientId-from-plugAndPlay”,
network: OPENLOGIN_NETWORK.TESTNET,
loginConfig: {
jwt: {
name: “Email-Passwordless login with Auth0”,
verifier: “verifierId-from-customAuth”,
typeOfLogin: “jwt”,
clientId: “auth0-clientId”,
},
},
});

```

  
   
 Originally posted by: [tmcyrix](https://github.com/tmcyrix)  
   
 Check the discussion at: [https://github.com/orgs/Web3Auth/discussions/730](https://github.com/orgs/Web3Auth/discussions/730)

---

<div class="post-metadata">

**Author:** ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.com/u/githubdiscussions)\
**Post date:** [October 31, 2022, 8:38am UTC](https://builder.metamask.com/t/archive-react-native-sdk-auth0-email-passwordless/2343/2 "2022-10-31T08:38:24Z")

</div>

Hey [@tmcyrix](https://github.com/tmcyrix)

In your `extraLoginOptions`, you're mixing two logins. Email Passwordless and JWT.

```
extraLoginOptions:{domain:"https://auth0-domainUrl",login\_hint:"email-from-user",// use this, when you're to use Email PasswordlessverifierIdField:"sub",id\_token:auth0Result.idToken,// use this, when you're to use JWT login.isVerifierIdCaseSensitive:false,},
```

Please check the SDK reference [https://web3auth.io/docs/sdk/react-native/custom-authentication#extraloginoptions-for-special-login-methods](https://web3auth.io/docs/sdk/react-native/custom-authentication#extraloginoptions-for-special-login-methods) to know more.

Also, can you share from where you're getting `auth0Result`?

  
   
 Originally posted by: [shahbaz17](https://github.com/shahbaz17)
