# \[Archive\] Web3Auth Flutter SDK

**URL:** https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423
**Category:** Embedded Wallets (Web3Auth)
**Created:** [September 8, 2022, 11:04am UTC](https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423 "2022-09-08T11:04:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)
#### Post date: [September 8, 2022, 11:04am UTC](https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423/1 "2022-09-08T11:04:41Z")

</div>

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

* * *

Had some issues in integrating the Web3Auth Flutter SDK at the Hacker House Dilli. Listing all the points and issues below:

**1) The installation points to a now unavailable page:**  
What it is: [https://github.com/torusresearch/web3auth-flutter-sdk.git](https://github.com/torusresearch/web3auth-flutter-sdk.git)  
What it should be: [https://github.com/web3auth/web3auth-flutter-sdk](https://github.com/web3auth/web3auth-flutter-sdk)

Can also maybe add directly adding `web3auth_flutter: ^1.0.0` to `pubspec.yaml`.

**2) The `initPlatformState` function should be updated on the [initialize page](https://web3auth.io/docs/sdk/flutter/initialize):**

```
Future<void>initPlatformState()async{// InitializationawaitWeb3AuthFlutter.init(Web3AuthOptions(
        clientId:"YOUR WEB3AUTH CLIENT ID FROM DASHBOARD",
        network:Network.testnet,
      ),
    );
  }
```

1. Similarly the Web3AuthResponse doc

```
finalWeb3AuthResponseresponse=awaitWeb3AuthFlutter.login(LoginParams(loginProvider:Provider.google));
```

1. Lastly, getting an error when running the project

This is probably due to some Android configuration issues.

**Error:**  
[![Screenshot 2022-09-08 at 4 33 40 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/6/6ae5ed1bef87a186cf933e0f6334b7e5ed4ba5bb.png)](https://user-images.githubusercontent.com/53579386/189106496-73d3d71d-e45e-4672-9ee9-b45116819319.png)  
cc [@shahbaz17](https://github.com/shahbaz17)

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

---

<div class="post-metadata">

### Author: ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)
#### Post date: [September 9, 2022, 6:10am UTC](https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423/2 "2022-09-09T06:10:15Z")

</div>

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

Let's meet during the hackathon. I got this to work.

Meanwhile, can you share your `flutter doctor` output here?

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

---

<div class="post-metadata">

### Author: ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)
#### Post date: [October 12, 2022, 1:43am UTC](https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423/3 "2022-10-12T01:43:48Z")

</div>

The [latest doc on Flutter](https://web3auth.io/docs/sdk/flutter/) resolves all of the issues stated in this discussion.

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

---

<div class="post-metadata">

### Author: ![githubdiscussions](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@githubdiscussions](https://builder.metamask.io/u/githubdiscussions)
#### Post date: [September 9, 2022, 6:17am UTC](https://builder.metamask.io/t/archive-web3auth-flutter-sdk/2423/4 "2022-09-09T06:17:48Z")

</div>

Thank you [@shahbaz17](https://github.com/shahbaz17)! I redid the project and used Android Studio to better debug. It is working now on my system.  
There is this one issue happening, I can come by your table at the Hackathon whenever you're available.

[![WhatsApp Image 2022-09-09 at 11 44 57 AM (1)](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/0/04ee75408a16ae8387f71fc3dcdd6b3564b7ea0b.jpeg)](https://user-images.githubusercontent.com/53579386/189283884-12edd04a-4b10-433e-af83-ae74ac76590e.jpeg)

It does launch an in-app browser to login although the 'Redirect to app' doesn't work once auth is done.

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