Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add installation instructions #2

Open
GiuseppeGalilei opened this issue Mar 30, 2024 · 5 comments
Open

Add installation instructions #2

GiuseppeGalilei opened this issue Mar 30, 2024 · 5 comments

Comments

@GiuseppeGalilei
Copy link

This seems like a great project!
I really want to try it out, but I don't know where to begin 😅
Can you provide some hints about the installation and setup process?

@RTeran
Copy link

RTeran commented Sep 15, 2024

Yes, I want to try it too!
Could you give us some installation instructions?

@ekallevig
Copy link
Owner

Unfortunately garmin introduced a bug in their sdk that forces a particular value for the redirect_uri param in the oauth requests, which causes auth to fail as spotify requires them to match on both /authorize and /api/token request. https://forums.garmin.com/developer/connect-iq/i/bug-reports/makewebrequest-after-makeoauthrequest-is-caching-redirect_uri-param

@RTeran
Copy link

RTeran commented Oct 12, 2024

I see... what a pity...
So, is the problem with the SDK or with the Garmin Connect app?
Have you tried the trick of using the string it returns ("gcm://oauth") as the redirect_uri to see if it works with that value? Maybe, if all Spotify needs is for the two redirect_uris to be the same, you can set the redirect_uri to "gcm://oauth" in the Spotify App settings.
I don't know... just to try...

@RTeran
Copy link

RTeran commented Oct 12, 2024

I just tried it and it doesn't work. Of course, it doesn't make sense.

@ekallevig
Copy link
Owner

I see... what a pity...

So, is the problem with the SDK or with the Garmin Connect app?

Have you tried the trick of using the string it returns ("gcm://oauth") as the redirect_uri to see if it works with that value? Maybe, if all Spotify needs is for the two redirect_uris to be the same, you can set the redirect_uri to "gcm://oauth" in the Spotify App settings.

I don't know... just to try...

Yeah I did try this a while ago and just tried again with the latest SDK but it doesn't know where to redirect to after auth. Strange bug as the actual oauth request is fine but then regular web requests are overriding this param.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants