Questions tagged [magic-sdk]

8 questions
5
votes
1 answer

Could not authenticate via cookie Error: Unable to refresh user session. Please log in using the magic link flow to enable session persistence

I'm trying to log in with magic-sdk and am running into this error: Could not authenticate via cookie Error: Unable to refresh user session. Please log in using the magic link flow to enable session persistence.
Matt
  • 33,328
  • 25
  • 83
  • 97
3
votes
1 answer

Critical dependency: require function is used in a way in which dependencies cannot be statically extracted [magic]

When using the magic-sdk v8.0.1 I am getting this warning: warn - ./node_modules/magic-sdk/dist/es/index.js Critical dependency: require function is used in a way in which dependencies cannot be statically extracted Can someone tell me what is…
Matt
  • 33,328
  • 25
  • 83
  • 97
1
vote
0 answers

Why is my JavaScript Magic SDK front end integration unable to confirm transactions?

Magic RPC Error, unable to confirm transaction after 20 attempts Two months ago, I wrote some JavaScript code for a front end integration of the Magic SDK to the Harmony testnet. I was able to send a transaction to a smart contract with the…
heximal
  • 11
  • 1
0
votes
0 answers

Firebase Internal Error when authenticating with signInWithMoralisByEvm and Magic Provider

I’m trying to authenticate in Firebase using Magic Wallet via signInWithMoralis function. But I get Firebase Internal Error. I’ve integrated Metamask, Coinbase Wallet and WalletConnect without problems. I repeated the same procedure with others…
0
votes
2 answers

Error: Magic RPC Error: [-32603] Internal error: Unsupported Magic Connect method. when using magic sdk for authentication

The Problem: The code bellow throws a Unhandled Runtime Error Error: Magic RPC Error: [-32603] Internal error: Unsupported Magic Connect method and I cannot figure out why. node version : 18.12.1 magic-sdk version: ^8.1.1 nextjs13 import { Magic…
0
votes
0 answers

Next JS User session data successfully saves locally, but fails to save when deployed to AWS

In an app I'm building, a user logins in (validates through Magic Auth), and we save the user data in the session variable (using Iron for session management): export default withSessionRoute(async (req, res) => { try { const didToken =…
DaraLadje
  • 11
  • 5
0
votes
1 answer

How to integrate Magic authentication with flutter and have Solana as our blockchain?

I was trying to make a flutter app where I could have authentication done using Magic and then use it with Solana as my blockchain however the issue that I have been facing is the public address that I get from the magic-sdk flutter package is…
0
votes
1 answer

having problem with graphql and magic api . how to apply mutations and queries on a server to create a schema

I have two GraphQL files: mutations.js and queries.js under a gql folder... This folder contains GraphQL mutations and queries used across the app. gql mutations.js queries.js I set up the GraphQL endpoint, but i keep getting this…
Amine
  • 21
  • 1
  • 2