# \[Archive\] Login with openLogin(google & twitter) works fine in localhost but gives me error in vercel (live version)

**URL:** <https://builder.metamask.com/t/archive-login-with-openlogin-google-twitter-works-fine-in-localhost-but-gives-me-error-in-vercel-live-version/2182>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [January 12, 2023, 3:01pm UTC](https://builder.metamask.com/t/archive-login-with-openlogin-google-twitter-works-fine-in-localhost-but-gives-me-error-in-vercel-live-version/2182 "2023-01-12T15:01:45Z")\
**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:** [January 12, 2023, 3:01pm UTC](https://builder.metamask.com/t/archive-login-with-openlogin-google-twitter-works-fine-in-localhost-but-gives-me-error-in-vercel-live-version/2182/1 "2023-01-12T15:01:45Z")

</div>

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

* * *

I implemented the web3Auth in my react application with the guide of custom-ui-react-app.

I created an context file for that and put it in the very top of my app and then used the exported information and login function in my login page.

[here is my context in a code file in my github](https://gist.github.com/NekfarBaqir/6ad1c55d878c33a01d0240e8174169c2)  
[here is a config file imported in the context file](https://gist.github.com/NekfarBaqir/c2d1998957fdff048ff84d0c0738b48d)

In localhost it works well but in production in vercel when I click on the login button (login function from context gets called ) after that, in the console it shows connecting for a while then it gives me the error , I toke a picture of it from clicking till the error.

Note : the errors consoled in different area of the context, for example in login itself and in events.

[Erorr Image](https://res.cloudinary.com/baqircompany/image/upload/v1673535301/Screenshot_from_2023-01-12_19-23-21_v4swo9.png)

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

---

<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:** [January 16, 2023, 3:39am UTC](https://builder.metamask.com/t/archive-login-with-openlogin-google-twitter-works-fine-in-localhost-but-gives-me-error-in-vercel-live-version/2182/2 "2023-01-16T03:39:08Z")

</div>

The error is caused because of not specifying browser versions. Here is the way to [troubleshoot](https://web3auth.io/docs/troubleshooting/react-big-int-error) the error.

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