Skip to content

Commit d96a246

Browse files
committed
add logs
1 parent 3f23a7e commit d96a246

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/components/AuthLogin/AuthModal.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ const AuthModal = ({
150150
sdk,
151151
metaMaskAccount,
152152
metaMaskAccountEns,
153+
metaMaskProvider,
153154
setNeedsMfa,
154155
setWalletLinked,
155156
setWalletAuthUrl,
@@ -186,6 +187,8 @@ const AuthModal = ({
186187
setMetaMaskProvider(provider);
187188
}
188189

190+
console.log('metaMaskProvider', metaMaskProvider);
191+
189192
// Call Profile SDK API to retrieve Hydra Access Token & Wallet userProfile
190193
// Hydra Access Token will be used to fetch Infura API
191194
const { accessToken, userProfile } = await authenticateAndAuthorize(

src/lib/siwsrp/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const authenticateAndAuthorize = async (env: string) => {
7373
accessToken = await auth(env).getAccessToken();
7474
userProfile = await auth(env).getUserProfile();
7575
} catch (e: any) {
76+
console.log('e', e);
7677
throw new Error(e.message);
7778
}
7879

0 commit comments

Comments
 (0)