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.

    MMM-OnSpotify Waiting for Authorization

    Scheduled Pinned Locked Moved Entertainment
    14 Posts 3 Posters 820 Views 3 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.
    • S Offline
      sdetweil @daportelli
      last edited by

      @daportelli I just added it, and auth failed the first time cause I hadn’t added my name and email in the spotify app definition (you can see the error in the URL after pressing the button)

      then the second time it worked correctly

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • D Offline
        daportelli
        last edited by

        @sdetweil not sure what happened, you were correct it was showing a mismatch error in the URL. I rotated the secret a couple of time and it worked. Not sure why. Thanks again for the assist.

        1 Reply Last reply Reply Quote 1
        • V Offline
          videogame95
          last edited by

          Hi did you get onspotify running on your magic mirror I 'm trying get it running on my magic mirror I can only find secret client id and accsess Token but can’t find,
          refresh “Token” any help install this Module .
          I also tride to install spotify lyrics only had to add a token id .
          but this is error message I get ? IMG_0044.jpg
          It looks like its trying to load on spotify that I’ve remove but not the install script
          should just try to install MMM-onspotify, Do i add all config file ?

          Any help please

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @videogame95
            last edited by

            @videogame95 the refresh token will be created by the module

            Install Module,
            cd to It’s folder
            Run the authorize command line app
            Then go to the web page

            Note that the module requires the Spotify premium account
            As Spotify locks out the free api

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • V Offline
              videogame95
              last edited by

              i’m haven’t got clue ho to Run the authorize command line
              on my Magic Mirror it say onsptify connecting but its not
              please guild me how run authorized or could show me completed app that should work
              as I’m not sure I’m adding the correct thing in it.

              Creating a Spotify App
              You cannot use MMM-NowPlayingOnSpotify credentials! (or from other module)
              The scopes included in NPOS are different from the requiered for MMM-OnSpotify to work. You can use your old Client ID/Secret to get a new token.
              any help what this means I’ve added a credential id and secret client id to my config.file
              i’ve been on the page make n app as i said not if I’m filling this in correctly?
              his is my app text only
              https://developer.spotify.com/dashboard
              I couldn’t past it in. Sorry my English is so bad .

              thanks any help

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @videogame95
                last edited by sdetweil

                @videogame95 ok, I led you on the wrong path.

                did you translate the module github page into your preferred language? it has all the instructions

                install the module
                launch the web page

                Access it by going to https://onsp.fabriz.co/
                

                create the app on the spotify developers site
                add the redirect URL

                Now add https://onsp.fabriz.co/ as the redirect URI (include the trailing /), so Spotify knows to redirect you here with the credentials
                

                scroll down and press save

                click on Save
                

                add you as a user

                Once you added yourself as a user, go back to the Basic Information tab,
                

                see/copy the clientid and client secret values into the fields on the web page
                Snip20260317_2.png
                press

                authorize  with your Spotify account
                

                Snip20260317_3.png

                on return from authorize it will display the sample module definition for config.js (clipped here so you can see it)
                Snip20260317_4.png

                copy that blob to your config.js
                save and restart MagicMirror

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • V Offline
                  videogame95
                  last edited by

                  unfortunately when I go to the page to recreate a new app there’s no button on the page . I had deleted my old ones now I can’t make a new .

                  Do I just need wait for something to refresh?
                  any help please.

                  S 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @videogame95
                    last edited by

                    @videogame95 I do not know

                    when I go there I see the button, but it is disabled as I have 3 apps defined
                    Snip20260320_8.png

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @videogame95
                      last edited by

                      @videogame95 if you logoff and login again, does that make a difference?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        videogame95
                        last edited by

                        unfortunately no I just tied that I log out and back in to dashboard it came up with Spotify code box to my google mail copy code in which let me use Spotify on the web. as I said I tried login back into dashboard still no button to create an app?
                        Any suggestions

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @videogame95
                          last edited by sdetweil

                          @videogame95 no, sorry.

                          You are on developer.spotify.com
                          Right?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 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