# \[Archive\] Redirect error when attempting to log in to LINE ( another case)

**URL:** <https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [December 4, 2024, 2:00pm UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136 "2024-12-04T14:00:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 4, 2024, 2:00pm UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/1 "2024-12-04T14:00:47Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **develop** on 12/4/2024.  
> 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:

Platform: React Native  
SDK Details: Web3Auth PnP React Native SDK  
SDK Version: 0.74  
Issue: Redirect error when attempting to log in using LINE through Auth0 in a React Native app.  
Details: The redirect isn’t working properly when users authenticate through the LINE app without entering their details on the web app.

Hi,

I previously reached out to inquire about an issue with logging in using LINE. Thanks to your guidance, I was able to resolve part of the problem. However, I’ve recently encountered a new bug, so I wanted to ask for your help again.

 ![](https://web3auth.io/community/letter_avatar_proxy/v4/letter/m/ce7236/48.png)[Redirect error when attempting to log in to LINE](https://web3auth.io/community/t/redirect-error-when-attempting-to-log-in-to-line/8782/11) [PnP React Native SDK](https://builder.metamask.io/community/c/help-pnp/pnp-rn/19)

> Hey @develop, Many thanks for sharing the screenshots! From the Web3Auth dashboard, it appears you’ve set up an aggregate verifier configuration. However, I don’t see this reflected in your code. Specifically, your code seems to be missing a loginConfig that includes the aggregate verifier and its sub-verifiers within the Web3Auth instance initialization. Here’s an example configuration for reference: const web3auth = new Web3Auth(WebBrowser, EncryptedStorage, { clientId, network: OPENLO…

In the case where the login worked previously, it wasn’t a situation where the user wasn’t logged in, as shown in the first screenshot I’ve attached. Instead, the user was already logged in.

To summarize: on the screen shown in the first screenshot, when the “Open in LINE” button is clicked to log in via the app, it transitions to the LINE app. From there, moving from the second screenshot to the third screenshot leads to a Safari browser window. At this point, the user should be redirected back to the app, but instead, they remain in Safari, where an error occurs as shown in the rest of the screenshots.

Could you let me know what might be causing this issue? The code and settings are the same as those I mentioned in my previous inquiry, which you can find at the URL below.

Thank you for your help!

[![1-line](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/cae4b116af61dbda94268e7c9cb700cc85647f00.jpeg)
1-line1170×2532 105 KB
](https://web3auth.io/community/uploads/default/original/2X/7/72d48e752e12bc27361815ba589d2aed17215e3b.jpeg "1-line")
  

[![2-line](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/ef7d44f28022cad582551200282781b57c7a3fdb.jpeg)
2-line1170×2532 201 KB
](https://web3auth.io/community/uploads/default/original/2X/e/ebea2e7620200dead18db7675d9d27522943b87c.jpeg "2-line")
  

[![3-line](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/849828b0ba7c26ec9014df802e84158bf69dad7d.jpeg)
3-line1170×2532 168 KB
](https://web3auth.io/community/uploads/default/original/2X/b/bfc2513e76f70b6bb991d024f247b2948bb9520f.jpeg "3-line")
  

[![5-line](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/426e8e78f67ecfa51c9f2f9b666152353c5df915.jpeg)
5-line1170×2532 50.6 KB
](https://web3auth.io/community/uploads/default/original/2X/3/34af1f0c966f56392eac22c429cd89b7f9bdd181.jpeg "5-line")
  

[![6-line](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/6618c093500e84d03dd82d1dd48492650e9eb1f0.jpeg)
6-line1170×2532 86.8 KB
](https://web3auth.io/community/uploads/default/original/2X/c/c1f5c2edc6f9590c82ef49dfc0715c16767d366f.jpeg "6-line")

---

<div class="post-metadata">

**Author:** ![w3abot](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@w3abot](https://builder.metamask.io/u/w3abot)\
**Post date:** [December 4, 2024, 2:03pm UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/2 "2024-12-04T14:03:18Z")

</div>

Hi there!

Thank you for reaching out again and for providing detailed information about the issue you’re experiencing with the Web3Auth PnP React Native SDK. It helps a lot in understanding the problem!

Here’s a summary of the details you’ve provided for our support team:

- **SDK Details** : PnP React Native SDK
- **SDK Version** : 0.74
- **Platform** : React Native
- **Issue** : Redirect error when attempting to log in using LINE through Auth0. The process fails to redirect back to the app after logging in via the LINE app.

From your description, it seems that everything is set up correctly until the point of redirection. To assist you better, could you provide the following additional details?

1. **Web3Auth Initialization & Login Code Snippets** : If you can share the relevant parts of your code, it will help us identify any potential issues.
2. **Browser Console Screenshots** : If there are any error messages in the console during the process, those would be very useful.
3. **Verifier Name** : What verifier are you using for the LINE integration?
4. **Method of Login** : Are you using the LINE app for authentication directly, or is it called through your web app?
5. **JWKS Endpoint & Sample ID Token (JWT)**: If you are using your own authentication, please provide this information.

Also, I’ll make sure to check the link you provided for any other context or previous solutions. If you can send the additional details when you get a chance, our support team will be able to assist you more effectively.

Thank you for your patience and collaboration!

> Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

---

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 5, 2024, 7:09am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/3 "2024-12-05T07:09:15Z")

</div>

```auto
 const web3authInstance = new Web3Auth(WebBrowser, EncryptedStorage, {
        clientId: web3AuthConfig.clientId,
        redirectUrl,
        network: web3AuthConfig.network,
        loginConfig: {
          line: {
            verifier: 'chainwith-app-dev',
            verifierSubIdentifier: 'chainwith-dev-line',
            typeOfLogin: 'line',
            clientId: 'VDKl8JCM6WeqIV0HuFl8Z1BovWJbRSCY',
            jwtParameters: {
              domain: 'https://dev-31zum6u30mrudlmz.us.auth0.com',
              verifierIdField: 'email', // Maps email IDs across logins
              isVerifierIdCaseSensitive: false,
            },
          },
        },
      });

```

---

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 5, 2024, 7:13am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/4 "2024-12-05T07:13:43Z")

</div>

It seems more accurate to refer to the history at the link below for detailed information about the development environment:

 ![](https://web3auth.io/community/letter_avatar_proxy/v4/letter/d/5f8ce5/48.png)[Redirect error when attempting to log in to LINE](https://web3auth.io/community/t/redirect-error-when-attempting-to-log-in-to-line/8782/8) [PnP React Native SDK](https://builder.metamask.io/community/c/help-pnp/pnp-rn/19)

> Thank you for your response. @maharshi[[스크린샷 2024-11-25 오후 2.10.46]](https://web3auth.io/community/uploads/default/original/2X/6/668d2ea58ccff75e5ce4aa6c7846f3a54feec362.png "스크린샷 2024-11-25 오후 2.10.46")[[스크린샷 2024-11-25 오후 2.11.00]](https://web3auth.io/community/uploads/default/original/2X/6/667aeaa06f664a43bed6e9bdb730e5fe8a94673d.png "스크린샷 2024-11-25 오후 2.11.00") I’m sharing the Auth0 dashboard settings here. The Allowed Callback URLs are configured as follows: 
> 
> > **[Web3Auth](https://auth.web3auth.io/auth)**
> >
> > Web3Auth - Your complete SDK for passwordless, private and hassle-free authentication
> 
> [https://dev-31zum6u30mrudlmz.us.auth0.com/login/callback](https://dev-31zum6u30mrudlmz.us.auth0.com/login/callback)  
> com.xxx.xxx.auth0://dev-31zum6u30mrudlmz.us.auth0.com/ios/com.xxx.xxx/callback  
> com.xxx.xxx.auth0://dev-31zum6u30mrudlmz.us.auth0.com/android/com.xxx.xxx/callback
> 
> If you need any additional inf…

---

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 9, 2024, 4:22am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/5 "2024-12-09T04:22:03Z")

</div>

please reply

@maharshi

---

<div class="post-metadata">

**Author:** ![maharshi](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/maharshi/32/1525_2.png) [@maharshi](https://builder.metamask.io/u/maharshi)\
**Post date:** [December 12, 2024, 6:02am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/6 "2024-12-12T06:02:11Z")

</div>

Hey @develop  
Please share the allowed redirect URIs on Auth0 dashboard and also in your app if you’ve configured redirect URL.

---

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 12, 2024, 7:20am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/7 "2024-12-12T07:20:00Z")

</div>

Hi, @maharshi  
thank you for your response.  
Here are the dashboard screens for Auth0 and LINE.  
Let me know if you need any additional information.

**Auth0 Dashboard**  
Allowed Callback URLs  
[Web3Auth](https://auth.web3auth.io/auth), [https://dev-31zum6u30mrudlmz.us.auth0.com/login/callback](https://dev-31zum6u30mrudlmz.us.auth0.com/login/callback), com.chainwith.rewardy.auth0://dev-31zum6u30mrudlmz.us.auth0.com/ios/com.chainwith.rewardy/callback, com.chainwith.rewardy.auth0://dev-31zum6u30mrudlmz.us.auth0.com/android/com.chainwith.rewardy/callback

Application Login URI  
[https://dev-31zum6u30mrudlmz.us.auth0.com/login](https://dev-31zum6u30mrudlmz.us.auth0.com/login)

[![113](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/0b144e23058628a39784d113a10702d421d30e6e.png)
1131201×981 59.8 KB
](https://web3auth.io/community/uploads/default/original/2X/3/3ed955a2f6c5e6bcfd654044c7af4e21278174cf.png "113")

---

<div class="post-metadata">

**Author:** ![develop](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@develop](https://builder.metamask.io/u/develop)\
**Post date:** [December 22, 2024, 8:33am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/8 "2024-12-22T08:33:56Z")

</div>

i look forward to your prompt reply @maharshi

---

<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:** [December 23, 2024, 8:48am UTC](https://builder.metamask.io/t/archive-redirect-error-when-attempting-to-log-in-to-line-another-case/1136/9 "2024-12-23T08:48:01Z")

</div>

Hey @develop,

As I understand it, this appears to be a problem with Line and Auth0. I suggest you reach out to them about this. The fact that the authorizations fail at the Auth0 level indicates this. If the issue had progressed further to the web3auth redirection page, we could provide more assistance.
