Back

[Solved] Spotify Authentication

  • 1
  • Web
Binyamin
20 Jun, 2023, 20:13

run pwd and share the results

TL;DR
I had an issue with Spotify authentication, but it has been solved. Someone helped me debug it and provided a solution. The problem was with my app being in development mode, so I had to add each user manually. There's a helpful link provided for more information. I made a mistake with a file, but it was corrected and now it's working. Overall, it was a positive experience.
Kenny
20 Jun, 2023, 20:13
Kenny
20 Jun, 2023, 20:15

I think I got it running

Kenny
20 Jun, 2023, 20:15

\

Binyamin
20 Jun, 2023, 20:15

set this row like so

TypeScript
    volumes:
      ...
      - /root/appwrite/Spotify.php:/usr/src/code/src/Appwrite/Auth/OAuth2/Spotify.php
Binyamin
20 Jun, 2023, 20:15

I've made mistake it should be like so

Binyamin
20 Jun, 2023, 20:15

First the local file then the remote one.

Kenny
20 Jun, 2023, 20:16

o okay

Kenny
20 Jun, 2023, 20:19
Binyamin
20 Jun, 2023, 20:19

Good

Binyamin
20 Jun, 2023, 20:19

That's very helpfull

Binyamin
20 Jun, 2023, 20:21

What is happening is that your App is on development mode, then you'll have to add each user manually.

Binyamin
20 Jun, 2023, 20:21

Is that your use case?

Kenny
20 Jun, 2023, 20:22

:( Probably so

Kenny
20 Jun, 2023, 20:22

That's really lame.

Binyamin
20 Jun, 2023, 20:22

Yep

Binyamin
20 Jun, 2023, 20:22

It sounds like Spotify don't really want to be used as login-with in normal use-case.

Binyamin
20 Jun, 2023, 20:23

You can remove the volume addition if you don't want the change.

Kenny
20 Jun, 2023, 20:23

Thanks for all the help.

Binyamin
20 Jun, 2023, 20:24

👍 It was nice to debug it

Binyamin
20 Jun, 2023, 20:24

And to find out Spotify ... <a:ablobgrimace:635255918442840075>

Kenny
20 Jun, 2023, 20:24

Yea, I think that was the issue. Total bummer. Oh well!

Kenny
20 Jun, 2023, 20:25

Yea, some of this stuff is just way over my head /: I'm really appreciative you've taken the time to help me twice :)

Kenny
20 Jun, 2023, 20:26

[Solved] Spotify Authentication

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more