You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We try using the website in Chrome and Brave, and try loggin in with Google and Apple, it's working just fine.
So we try to debug it on Safari by
Open the AppKit Modal
Click "Continue With Google"
It pop-up the Google's sigh in page. We successfully logged in.
It redirects to walletconnect's "Successfully Login..." page
Then, it redirects to another page under the domain secure.walletconnect.org and show a blank page.
We inspect the log of that blank page, there's a console error Error: Missing projectId in AppKitProvide
We search for that log in the code of that page and found that you guys check for the path "oauth" from the URL, but it's missing. The URL of the blank page is https://secure.walletconnect.org/sdk/<Long string and other query that seem confidential>
We notice that opening the AppKit Demo app works fine on Safari, so we try to inspect the OAuth URL that was redirect from the demo app compared to our app. We found that, the encoded query string from both our App and from the Demo app are similar. Here's an example of the headers of our app (decoded JWT):
Link to minimal reproducible example
https://terminal.infinit.tech
Summary
TL;DR
Social media login is not working on Safari browser on both iOS and Mac. We tested it on Chrome and Brave and they are working fine.
Details:
Our project is a multichain projects (has both EVM and Solana).
We use
viem
,@solana/web3.js
, and@reown/appkit
.We enable these socials:
Our Debugging Method:
We try using the website in Chrome and Brave, and try loggin in with Google and Apple, it's working just fine.
So we try to debug it on Safari by
secure.walletconnect.org
and show a blank page.Error: Missing projectId in AppKitProvide
https://secure.walletconnect.org/sdk/<Long string and other query that seem confidential>
We notice that opening the AppKit Demo app works fine on Safari, so we try to inspect the OAuth URL that was redirect from the demo app compared to our app. We found that, the encoded query string from both our App and from the Demo app are similar. Here's an example of the headers of our app (decoded JWT):
I have masked some info that I think it's confidential. But as you can see, the ProjectID is already included in the RPC and on the meta object.
List of related npm package versions
"@reown/appkit": "^1.6.9",
"@reown/appkit-adapter-solana": "^1.6.9",
"@reown/appkit-adapter-wagmi": "^1.6.9",
"@solana/wallet-adapter-react": "^0.15.35",
"@solana/wallet-adapter-wallets": "^0.19.32",
"@solana/web3.js": "^1.98.0",
"viem": "^2.23.6",
"wagmi": "^2.14.11"
Node.js Version
22.x
Package Manager
[email protected]
The text was updated successfully, but these errors were encountered: