# \[Archive\] Apple auth error in no-modal

**URL:** <https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [March 10, 2025, 8:59pm UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078 "2025-03-10T20:59:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![esteban](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esteban](https://builder.metamask.io/u/esteban)\
**Post date:** [March 10, 2025, 8:59pm UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/1 "2025-03-10T20:59:25Z")

</div>

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

* * *

When asking for help in this category, please make sure to provide the following details:

1. @web3auth/base: “^9.5.1”,
2. Nextjs

```auto
new AuthAdapter({
  adapterSettings: {
    uxMode: 'popup', apple:{
        verifier: "win_apple_verify", // Pass the Verifier name here. eg. aggregate-sapphire
        verifierSubIdentifier: "app-google-verify", // Pass the Sub-Verifier here. eg w3a-google
        typeOfLogin:'apple'
      },
})

```

```auto
  const loginApple = async () => {
    // IMP START - Login
    const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.AUTH, {
      loginProvider: "apple",
   });  
// IMP END - Login
setProvider(web3authProvider);
if (web3auth.connected) {
  setLoggedIn(true);
}

```

[![verifier](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/0e497969af041648dd646702cb4e19a6a122f068.png)
verifier3456×1998 480 KB
](https://web3auth.io/community/uploads/default/original/2X/e/e67f90ab3de4e7a98d4d001a374d2fdca26f234a.png "verifier")

I am trying to integrate the start of session with apple, but I have not been able to since in the docucmentacion has two different ways one with typeOfLogin of JWT that does not works and this that I share with you as seseo that is directly with typeOfLogin apple, this works to the point that lets me enter apple start session and gives me the following error:

[![Screenshot 2025-03-10 at 3.57.52 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/ed49953953eac7f01e411fad02398e1b7048a98a.jpeg)
Screenshot 2025-03-10 at 3.57.52 PM1920×1110 54.5 KB
](https://web3auth.io/community/uploads/default/original/2X/8/8c1316f71d52d20c442f58a40027316f6347c41c.jpeg "Screenshot 2025-03-10 at 3.57.52 PM")

we remain attentive to see what may be the error, because for us it is essential to add apple login session to then integrate it into our website.

---

<div class="post-metadata">

**Author:** ![shahbaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/shahbaz/32/1527_2.png) [@shahbaz](https://builder.metamask.io/u/shahbaz)\
**Post date:** [March 11, 2025, 3:42am UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/2 "2025-03-11T03:42:56Z")

</div>

Hey @esteban

Looking at the screenshot provided, looks like you have configured an aggregate verifier and trying to do apple login. And code snippet provided is not correct.

Please follow this documentation on implementing the apple verifier and login with apple.

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/4bea15d5fdfd372b2e7fae21263c61fab3da9379.png)

```
  <a href="https://web3auth.io/docs/auth-provider-setup/social-providers/apple" target="_blank" rel="noopener">web3auth.io</a>

```

### [Apple Social Login with Web3Auth | Documentation | Web3Auth](https://web3auth.io/docs/auth-provider-setup/social-providers/apple)

Apple Social Login with Web3Auth | Documentation - Web3Auth

```ts
const authAdapter = new AuthAdapter({
  adapterSettings: {
    uxMode: "redirect",
    loginConfig: {
      jwt: {
        verifier: "w3a-auth0-demo", // Pass the Verifier name here
        typeOfLogin: "jwt", // Pass on the login provider of the verifier you've created
        clientId: "hUVVf4SEsZT7syOiL0gLU9hFEtm2gQ6O", // Pass on the Auth0 `Client ID` here
      },
    },
  },
});

```

```ts
// Login with Apple
await web3AuthNoModalInstance.connectTo(WALLET_ADAPTERS.AUTH, {
  loginProvider: "jwt",
  extraLoginOptions: {
    ddomain: "https://web3auth.au.auth0.com", // Pass on the Auth0 `Domain` here
    verifierIdField: "sub", // Pass on the field name of the `sub` field in the JWT
    connection: "apple", // Use this to skip Auth0 Modal for Apple login
  },
});

```

---

<div class="post-metadata">

**Author:** ![esteban](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esteban](https://builder.metamask.io/u/esteban)\
**Post date:** [March 12, 2025, 1:49pm UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/3 "2025-03-12T13:49:04Z")

</div>

I already implemented that way but I have two errors in the connectTo part I think there is an error because in the code you shared with me you have the prop ddomain and if I put it with that I get the following error

[![Screenshot 2025-03-12 at 8.43.49 AM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/3d006cdf88cc726be4fc7b25cdaf1c9a2196ca5b.png)
Screenshot 2025-03-12 at 8.43.49 AM2116×1298 115 KB
](https://web3auth.io/community/uploads/default/original/2X/c/c02bfeb9fb98487ef9dae2ef40dc2cdd11473552.png "Screenshot 2025-03-12 at 8.43.49 AM")

si lo pongo como ‘domain’ da el siguiente error

[![Screenshot 2025-03-12 at 8.45.04 AM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/9eb242f301ddf38b00ca81738717248c56a622ea.png)
Screenshot 2025-03-12 at 8.45.04 AM2324×1366 185 KB
](https://web3auth.io/community/uploads/default/original/2X/2/2b60931328c65d81b78ca33835a28a009af97faa.png "Screenshot 2025-03-12 at 8.45.04 AM")

I share the configuration of my app in the web3auth dashboard and the code I implemented:

[![Screenshot 2025-03-12 at 8.46.43 AM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/8ead351d19bb813a9a9febca4c4f416b84b96c0a.png)
Screenshot 2025-03-12 at 8.46.43 AM702×432 16.2 KB
](https://web3auth.io/community/uploads/default/original/2X/2/217d6a698292970484dbcd7ba8d8ae696406af84.png "Screenshot 2025-03-12 at 8.46.43 AM")

```auto
  jwt: {
        verifier: "win_apple_verify", // Pass the Verifier name here. eg. aggregate-sapphire
        verifierSubIdentifier: "app-google-verify", // Pass the Sub-Verifier here. eg w3a-google
        typeOfLogin: "jwt", // Pass on the login provider of the verifier you've created
        clientId: "a7x1ToHYvdsP0QBozH6bXUKnXAyaatuK", // Pass on the Auth0 `Client ID` here
      },

```

```auto
    const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.AUTH, {
      loginProvider: "jwt",
      extraLoginOptions: {
        domain: "https://wininvestments.us.auth0.com", // Pass on the Auth0 `Domain` here
        verifierIdField: "email", // Pass on the field name of the `sub` field in the JWT
        connection: "apple", // Use this to skip Auth0 Modal for Apple login
      },
       });  

```

---

<div class="post-metadata">

**Author:** ![shahbaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/shahbaz/32/1527_2.png) [@shahbaz](https://builder.metamask.io/u/shahbaz)\
**Post date:** [March 13, 2025, 8:15am UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/4 "2025-03-13T08:15:36Z")

</div>

Hey @esteban

Did you add this as callback url as Callback URL in Auth0 Dashboard?

[![Screenshot 2025-03-13 at 1.44.05 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/9e835f512fcd52cb912ab66ea97d65bd09e6c5a1.png)
Screenshot 2025-03-13 at 1.44.05 PM826×364 61.4 KB
](https://web3auth.io/community/uploads/default/original/2X/a/a5e650218c04fe95fc82c2b77dc435ee7856b472.png "Screenshot 2025-03-13 at 1.44.05 PM")

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/4bea15d5fdfd372b2e7fae21263c61fab3da9379.png)

```
  <a href="https://web3auth.io/docs/guides/auth0#setup-your-auth0-tenant" target="_blank" rel="noopener">Web3Auth</a>

```

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/e987e993d27d4c82f004e53afa8b0950a975526b.png)

### [Learn how to use Auth0 with Web3Auth](https://web3auth.io/docs/guides/auth0#setup-your-auth0-tenant)

A comprehensive guide to setting up your Web3Auth Plug and Play No Modal SDK and Auth0 account, including development of a basic web application on your chosen blockchain..

---

<div class="post-metadata">

**Author:** ![esteban](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@esteban](https://builder.metamask.io/u/esteban)\
**Post date:** [March 13, 2025, 11:59pm UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/5 "2025-03-13T23:59:53Z")

</div>

Yes, I’ve set it up, but I still get the same error.

[![Screenshot 2025-03-13 at 6.57.52 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/6a7f10ab5bacaf0ad0f939df80202ddda7b12cfa.png)
Screenshot 2025-03-13 at 6.57.52 PM2592×1678 169 KB
](https://web3auth.io/community/uploads/default/original/2X/5/5457a380afc3ca2fe617c37aa2d6ce67d2739d83.png "Screenshot 2025-03-13 at 6.57.52 PM")

[![Screenshot 2025-03-13 at 6.59.29 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/5dcf2265ae3419fc039f5a429b73491713d6d5f4.png)
Screenshot 2025-03-13 at 6.59.29 PM2016×996 207 KB
](https://web3auth.io/community/uploads/default/original/2X/7/7c9c5af081dcd1dc769e1293982ccac69c2b8487.png "Screenshot 2025-03-13 at 6.59.29 PM")

---

<div class="post-metadata">

**Author:** ![shahbaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/shahbaz/32/1527_2.png) [@shahbaz](https://builder.metamask.io/u/shahbaz)\
**Post date:** [March 14, 2025, 4:43pm UTC](https://builder.metamask.io/t/archive-apple-auth-error-in-no-modal/1078/6 "2025-03-14T16:43:11Z")

</div>

Hey @esteban  
It says there isn’t a verifier with this name for your account.

> [@esteban](#):
>
> [![Screenshot 2025-03-13 at 6.57.52 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/6a7f10ab5bacaf0ad0f939df80202ddda7b12cfa.png)
> Screenshot 2025-03-13 at 6.57.52 PM2592×1678 169 KB
> ](https://web3auth.io/community/uploads/default/original/2X/5/5457a380afc3ca2fe617c37aa2d6ce67d2739d83.png "Screenshot 2025-03-13 at 6.57.52 PM")

And from this screenshot, it shows your verifier name is `app-test-verify`

> [@esteban](#):
>
> [![verifier](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/0e497969af041648dd646702cb4e19a6a122f068.png)
> verifier3456×1998 480 KB
> ](https://web3auth.io/community/uploads/default/original/2X/e/e67f90ab3de4e7a98d4d001a374d2fdca26f234a.png "verifier")

> [@esteban](#):
>
> ```auto
> jwt: {
> verifier: "win_apple_verify", // Pass the Verifier name here. eg. aggregate-sapphire
> verifierSubIdentifier: "app-google-verify", // Pass the Sub-Verifier here. eg w3a-google
> typeOfLogin: "jwt", // Pass on the login provider of the verifier you've created
> clientId: "a7x1ToHYvdsP0QBozH6bXUKnXAyaatuK", // Pass on the Auth0 `Client ID` here
> },
> 
> ```

Update this code to

```js
jwt: {
        verifier: "app-test-verify", // Pass the Verifier name here. eg. aggregate-sapphire
        verifierSubIdentifier: "win_apple_verify", // Pass the Sub-Verifier here. eg w3a-google
        typeOfLogin: "jwt", // Pass on the login provider of the verifier you've created
        clientId: "a7x1ToHYvdsP0QBozH6bXUKnXAyaatuK", // Pass on the Auth0 `Client ID` here
      },

```
