0

I'm using the Khan Academy API in an Electron application, I noticed that the login page (/api/auth2/authorize) has the option to login with Facebook or Google but not with Khan Academy account.

There's that error in the devtools

Error in LABjs loading: ReferenceError: jQuery is not defined

How can I get the page to load normally like it does in a browser?

Shokry
  • 81
  • 1
  • 7

1 Answers1

0

Electron windows do not load Jquery properly. You can find info on how to load Jquery here.

However, it looks as tho you are just loading a website url directly into Electron? I if this is true you should have a look at Electrons <webview> tag.

Community
  • 1
  • 1
Max
  • 4,529
  • 1
  • 25
  • 29