magiclabs/magic-js

Error 500 on send page from electron:latest

elvince opened this issue · 1 comments

✅ Prerequisites

  • [X ] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • [ X] Are you running the latest SDK version?
  • [ X] Are you reporting to the correct repository (magic-sdk)?

🐛 Description

Here is the error 500 response content : {"data":{},"error_code":"auth_relayer/INTERNAL_SERVER_ERROR","message":"Internal service error.","status":"failed"}

I was using electron : 23.2.0 and it was working.

now I'm using electon: 26.2.1 and it's not working anymore.

🤔 Expected behavior

No errors and see the iframe on top of our application so uor users can log to magic-link.

😮 Actual behavior

I trace the different request made by those versions and only the user agent differs:

You can use your sample to reproduce the error:
Clone https://github.com/magiclabs/example-electron
Upgrade to latest electron version and you will see the error.

I hope you can fix this soon as it is impacting our production users and we can't roll back on electron version :(

Thanks

🌎 Environment

Software Version(s)
magic-sdk 20.0.2
electron 26.2.1
Operating System windows 10

Same issue here, bug starts with electron@24.4.0 (Ok in 24.3.1)