Can we use auth0 spa library in electron applications

We have a React-redux application which is in a electron app. Can I use a auth0 spa library which is used in web apps. Would auth0 callbacks work ?