# \[Archive\] Apple Login Fails with Error: "Oops! Something went wrong"

**URL:** <https://builder.metamask.io/t/archive-apple-login-fails-with-error-oops-something-went-wrong/1009>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [July 14, 2025, 3:36pm UTC](https://builder.metamask.io/t/archive-apple-login-fails-with-error-oops-something-went-wrong/1009 "2025-07-14T15:36:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yurii.o](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@yurii.o](https://builder.metamask.io/u/yurii.o)\
**Post date:** [July 14, 2025, 3:36pm UTC](https://builder.metamask.io/t/archive-apple-login-fails-with-error-oops-something-went-wrong/1009/1 "2025-07-14T15:36:27Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **yurii.o** on 7/14/2025.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

**Details:**

- **SDK Version:**  
`@web3auth/react-native-sdk: ^8.1.0`
- **Platform:**  
`react-native: 0.75.5` (iOS only)
- **Browser Console Screenshots:**  

[![E6951D35-DC1A-4145-8894-041696F0BF27_1_105_c](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/94dd69a7eb92c79aafa076723cf290714226bde9.jpeg)
E6951D35-DC1A-4145-8894-041696F0BF27\_1\_105\_c602×1306 99.4 KB
](https://web3auth.io/community/uploads/default/original/2X/9/9e2721fe56ad201815f8c962de076d0cb433cb44.jpeg "E6951D35-DC1A-4145-8894-041696F0BF27\_1\_105\_c")

### Issue Description:

We are integrating Web3Auth in our React Native application. On iOS devices, we’ve encountered a recurring issue where users are **unable to log in with Apple on their very first attempt**. This issue occurs only on the initial attempt and **only on iOS**.

After some investigation, we found that **disabling “Prevent Cross-Site Tracking”** in device settings **can help** in some cases. However, this workaround is **not practical** for end users.

**Initialization:**

```auto
import Web3Auth, { LOGIN_PROVIDER } from '@web3auth/react-native-sdk';
import { WEB3AUTH_NETWORK, getEvmChainConfig } from '@web3auth/base';
import * as WebBrowser from '@toruslabs/react-native-web-browser';
import { EthereumPrivateKeyProvider } from '@web3auth/ethereum-provider';
const clientId = <KEY>;
const newChainConfig = getEvmChainConfig(0x01, clientId)!;
const privateKeyProvider = new EthereumPrivateKeyProvider({
config: { chainConfig: newChainConfig },
});

```

**Login Flow:**

```auto
 await web3auth.login({
   loginProvider,
   redirectUrl: redirectUrl
 });

```

### Additional Observations:

We switched to using `@swan-io/react-native-browser` as the in-app browser module, which improved the situation for most users.

However, the login process can still take up to 30 seconds to complete. This delay seems to be related to the Web3Auth server response time.

Although switching the browser has reduced visible errors, there is no guarantee that this solution will work reliably for all users without a clear understanding of the underlying issue.

### Questions:

- It seems like this issue has existed for a few years. Are there any proven, 100% reliable solutions available?
- Is this a known limitation of Web3Auth + Apple login on iOS?
- Could it be related to in-app browser handling or deep linking?

Any advice or insights would be greatly appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![brucezxy123111](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/brucezxy123111/32/2340_2.png) [@brucezxy123111](https://builder.metamask.io/u/brucezxy123111)\
**Post date:** [January 28, 2026, 4:58am UTC](https://builder.metamask.io/t/archive-apple-login-fails-with-error-oops-something-went-wrong/1009/3 "2026-01-28T04:58:44Z")

</div>

I solved this problem by adding _https_ to Info.plist:

```xml
	<key>LSApplicationQueriesSchemes</key>
	<array>
        ...
		<string>https</string>
	</array>

```

[My Issue](https://builder.metamask.io/t/i-keep-getting-an-error-when-i-try-to-log-in-to-apple-using-web3auth/2825/3)

---

<div class="post-metadata">

**Author:** ![yashovardhan](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/yashovardhan/32/1526_2.png) [@yashovardhan](https://builder.metamask.io/u/yashovardhan)\
**Post date:** [February 4, 2026, 7:47pm UTC](https://builder.metamask.io/t/archive-apple-login-fails-with-error-oops-something-went-wrong/1009/4 "2026-02-04T19:47:35Z")

</div>

Thanks a lot for letting us know the fix for this issue. We will refer to this for future references as well.

Thanks for contributing to the community 🙌
