Giter Club home page Giter Club logo

Comments (4)

Bastilms avatar Bastilms commented on May 27, 2024 1

Nevermind! I deleted the last part of the redirect URL inside my docker compose file (/oauth/spotify/callback). Now it works fine. I Still don't know why I have these two // when I try to connect my Spotify for the first time. Maybe I have still a typo. Who knows.
My Problem is now solved

I get redirected to https://<my domain>.de//oauth/spotify. I'm not sure why it uses the two //. However, I fix it by deleting on.

from your_spotify.

tansionline avatar tansionline commented on May 27, 2024

Hey, first can you hide your SPOTIFY_SECRET key. Its must be secret, but you shared it here 😄 . Did you register in spotify dashboard your redirect URL?
Must be something like that: ( Edit Settings inside )
Screen Shot 2022-01-13 at 11 42 38

from your_spotify.

Bastilms avatar Bastilms commented on May 27, 2024

Hey, yes, I added the redirect URL already to the Spotify dashboard.
Spotify

from your_spotify.

just5ky avatar just5ky commented on May 27, 2024

I am also facing the issue with https://spotapi.DOMAIN//oauth/spotify when I try to authorize.

image

I have to manually remove one / to be able to continue

My compose

  spotify_server:
    image: yooooomi/your_spotify_server
    container_name: spotify_server
    restart: always
    ports:
      - "5555:8080"  #https://spotapi.DOMAIN.eu/
    links:
      - mongo
    depends_on:
      - mongo
    environment:
      - API_ENDPOINT=https://spotapi.DOMAIN.eu # This MUST be included as a valid URL in the spotify dashboard
      - CLIENT_ENDPOINT=https://spotify.justsky.eu
      - SPOTIFY_PUBLIC=$SPOTIFY_KEY
      - SPOTIFY_SECRET=$SPOTIFY_SECRET
      - CORS=all
      - MONGO_ENDPOINT=mongodb://spotify_mongo:27017/your_spotify

  mongo:
    container_name: spotify_mongo
    image: arm64v8/mongo:4.4
    restart: always
    volumes:
      - $DOCKERDIR/your_spotify_db:/data/db

  spotify_web:
    image: yooooomi/your_spotify_client
    container_name: spotify_web
    restart: always
    ports:
      - "3003:3000"   #https://spotify.DOMAIN.eu
    environment:
      - API_ENDPOINT=https://spotapi.DOMAIN.eu

I was not sure which domain to add, so I added both
image

Rest everything works, just waiting for axios and npm update.

from your_spotify.

Related Issues (20)

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.