MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Return URI with Https

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 1 Posters 1.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mortenbirkelund
      last edited by

      Hi. I am trying to create a module for my Neato Botvac D5. (robot vacuum cleaner).

      Neato have an official javascript SDK (https://github.com/NeatoRobotics/neato-sdk-js) that i am using.

      My problem is that whenever i logon, i am returned to https page. So i have 2 questions.

      How should the url looks like in order to be returned to my module, so that the SDK can pick up the auth_token?
      How do i handle the fact that OAuth require the return uri to be https?

      1 Reply Last reply Reply Quote 0
      • M Offline
        mortenbirkelund
        last edited by

        Whenever I try to access a file in a myModule/public/ then i get an error

        Cannot GET /myModule/callback.js
        
        1 Reply Last reply Reply Quote 0
        • M Offline
          mortenbirkelund
          last edited by

          Shouldn’t the files in the public folder be accessible from a browser?

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy