Hi,
I'm getting stuck with integrating Web3Auth with Unity (stand alone application).
I did the following:
- Created a Phantom wallet
- Added the Phantom extension to Chrome
- Created a Web3Auth account
- Created a Web3Auth project
- Added my whitelisted URLs (xxxapp://com.XXX.Web3AuthUnity)
- Created a Unity project
- Imported the Web3Auth project
- Generated a Deep Link (xxxapp://com.XXX.Web3AuthUnity)
- Opened the sample scene
- Modified the Web3AuthSample.cs with my clientId and the redirectUrl (xxxapp://com.XXX.Web3AuthUnity/auth)
- Built the exe
When I run and select Google & Login:
- A browser opens and shows me my Google account.
- I log into my Google account
- I redirect to "https://sdk.openlogin.com/redirect"
- I'm asked by the browser dialog if I want to open my Web3AuthUnity.exe
- I press "Open Web3AuthUnity.exe"
Nothing happens. My exe is still sitting on the login screen.
If I browse to "xxxapp://com.XXX.Web3AuthUnity/auth" manually, my app does open to the login screen. So, I know the deep link is there.
In the exe, I never seem to get a return request from the Web3Auth login based on debug lines I log. Maybe my Phantom Wallet isn't tied to my Google account? I'm not getting any kind of error message.
Any help would be super appreciated.
Originally posted by: Tryz
Check the discussion at: https://github.com/orgs/Web3Auth/discussions/376