[SOLVED] Unable to connect with Cadence (Android App)

Hi!

when i try to connect to the Cadence app from my Samsung Galaxy S10E, i get stuck on the connection dialogue in Google Chrome.
I can do what i want, nothing is working except the logout button!

Are there already any solutions out there for this? I was not able to find useful information with the desired search words here :see_no_evil_monkey:

That’s almost surely a ā€˜Permission’ issue.
Most of this stuff requires Location services.

Hi MedTechCD, thank’s for your answer.
I am able to request location on google maps. So the browser in general is able to request location.
The thing is, when i click OK, nothing happens, when i click on CANCEL, also nothing happens.
No dialogs, no questions, nothing.

I already deleted Website data and permissions and retried, still no success.

Cheers

Ben

Did you try another browser?

Hi R2Tom, i just tried FireFox and Microsoft Edge, but still no luck.

Just tried it on iOS and it works.
Don’t know if you can disable popups on android, and that’s the case for you. On iOS there is a popup to open it in cadence app

Maybe @Ryan_Sommers has an idea what’s wrong there

Thank you,

Ryan already told me to try with another browser.
The funny part is that it works just fine when i connect strava via oauth.

So for me it has something to do with intervals.icu itself.

Yes i am shure the problem is within intervals.icu, as it also does not work on my pixel 9 where i installed cadence just now and it works for strava there too, but not for intervals.icu.

But in OAuth 2.0, the redirect URI (ā€œreturning addressā€ by clicking OK) is defined by the app (client) and registered with the authorization server ahead of time.

Can you open that link?
cadence://
(Copy it to your browser address bar, and hit return, it should open the cadence app)

I can’t force the browser to open this url by typing it. It will always try a search.
i also tried this: cadence://intervalsicu

i removed the client_id but that is the url to where i am directed:
https://intervals.icu/oauth/authorize?client_id=xx&redirect_uri=cadence://intervalsicu&scope=ACTIVITY:WRITE,CALENDAR:WRITE,LIBRARY:READ

however, if i open the page on my linux desktop using chrome, i get this:

so yes, in general the mechanism seems to work, but not for me on my two android phones with versions 12 and 16 and chrome/firefox/edge

I figured it was on the browser side of things, but if cadence:// should open Cadence, maybe it’s on my end? I’m not super knowledgable about Oauth, sounds like I need to do some investigating.

As you see, it wants to open the cadence app. The url scheme is defined by the app.

I think this is not on intervals side, as it redirect to the correct uri

Can you open strava:// ?

(But maybe this works only on iOS this way)

strava:// doesn’t work for me on Android either. It sounds like on Android the browser needs to navigate to the link, but Intervals is using a button with Javascript. Maybe that’s part of the issue?

Okay, confirming it does look like it’s on my end of things, an issue with registering the custom scheme. I’ll get an update submitted shortly @_btheg. Thanks for the helpful comments @R2Tom.

1 Like

thank you!

@_btheg update was just released, version 2.6.3.

2 Likes

i can confirm it is working now.
many thanks @Ryan_Sommers!

1 Like