Code Monkey home page Code Monkey logo

Comments (5)

TheSecurityDev avatar TheSecurityDev commented on July 29, 2024

I think this should be fixed in 2.1.8 now.

from simple-koa-shopify-auth.

jamesii-four13 avatar jamesii-four13 commented on July 29, 2024

I'm still having issues with btoa is not defined.

from simple-koa-shopify-auth.

TheSecurityDev avatar TheSecurityDev commented on July 29, 2024

Is this an error in the client or browser? What version are you using?

from simple-koa-shopify-auth.

ssauli avatar ssauli commented on July 29, 2024

I am having this issue as well. Everything seems to work correctly if I run my koa app locally and serve it through ngrok, but once I build and deploy the app, Koa app gives the following error when requesting the install route:

  ReferenceError: btoa is not defined
      at /var/task/node_modules/simple-koa-shopify-auth/lib/top-level-oauth-redirect.js:82:24
      at Generator.next (<anonymous>)
      at fulfilled (/var/task/node_modules/simple-koa-shopify-auth/lib/top-level-oauth-redirect.js:5:58)

I am running:

  • @shopify/shopify-api 5.0.1
  • simple-koa-shopify-auth 2.1.8

from simple-koa-shopify-auth.

TheSecurityDev avatar TheSecurityDev commented on July 29, 2024

Ok, something went wrong and the new update was never built. So 2.1.9 should fix it.

from simple-koa-shopify-auth.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.