From 2ae5c2164e087d8efafc8c4afccb1b212d95ec87 Mon Sep 17 00:00:00 2001 From: Zeeshan Tariq Date: Mon, 10 Nov 2025 15:39:03 +0500 Subject: [PATCH] fix oisy and show wallet popup info --- .../src/features/login/index.tsx | 244 ++++++++---------- .../src/lib/ic-use-identity/hooks/useOisy.ts | 2 +- 2 files changed, 111 insertions(+), 135 deletions(-) diff --git a/src/alex_frontend/src/features/login/index.tsx b/src/alex_frontend/src/features/login/index.tsx index 8eeb11e3c..32615668f 100644 --- a/src/alex_frontend/src/features/login/index.tsx +++ b/src/alex_frontend/src/features/login/index.tsx @@ -93,144 +93,126 @@ const Login:React.FC = ({ fullpage = false }) => {
{/* Native Wallets Section */}
-
- -

- Native Wallets -

-
- - {/* Internet Identity Card */} -
- ii.login({ - derivationOrigin: "https://yj5ba-aiaaa-aaaap-qkmoa-cai.icp0.io", - identityProvider: process.env.DFX_NETWORK === "local" ? `http://${process.env.CANISTER_ID_INTERNET_IDENTITY}.localhost:4943`: "https://id.ai", - }) - } - > -
-
- Internet Identity -
-

- Internet Identity -

-

- Secure authentication - powered by DFINITY -

-
-
- -
- -
- - No password required +
+
+ +

+ Native Wallets +

+

+ Internet Computer native authentication methods with seamless integration +

+
- {/* Footer with four wallets */} -
- - - - }} - variant="outline" - className="flex-1 h-12 flex items-center justify-center gap-2 border border-border hover:border-primary transition-colors text-xs" - > - Internet Identity Legacy - - II (Legacy) - - + - + - -
+
- {/* Cross-chain Section */} -
-
- -

- Cross-chain -

+ {/* External Wallets Section */} +
+
+
+ +

+ External Wallets +

+
+

+ Connect with external wallets through secure identity delegation.
+ + Tip: If nothing happens, make sure your wallet extension (e.g. MetaMask, Phantom, or Wander) is installed, unlocked, and allowed to open pop-ups. + +

+ +