-
Notifications
You must be signed in to change notification settings - Fork 19
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
login goes to old server #82
Comments
I think that custom-boot-config-url is how they tell the Android Pebble app to reconfigure itself to use Rebble's URLs for its services, so doesn't help us much unless we can see that tasty list and then hardcode all that. I thought logins would probably go through auth.rebble.io, but without knowing the URLs to use for everything else, it's a bit tricky. Really want to know if/where they're keeping the firmware too. There's a 4.4-rbl one around somewhere I think. Might be best to ask them for the official way to interact with their stuff. |
This looks interesting: https://github.com/pebble-dev/rebble-boot/blob/master/boot/stage2.py |
Not sure if this can help, someone played around with the same problem and suggested to mimic the solution from gadgetbridge: http://talk.maemo.org/showpost.php?p=1555502&postcount=697 |
I think the Android pebble app knows that it's supposed to put Note that some of our URL formats are different than Pebble's, and encode access tokens in different places (especially dictation!). So you should really be parsing the JSON that is returned from that link, rather than hardcoding URLs internally. |
"Settings" --> "Login" is trying to load https://auth-client.getpebble.com/en_US/
The rebble.io server has an option to login by an auth token which can be obtained by logging in to https://boot.rebble.io from an android device and copying the link named "SWITCH TO REBBLE" the structure of this link is:
pebble://custom-boot-config-url/https%3A%2F%2Fboot.rebble.io%2Fapi%2Fstage2%2F%3Faccess_token%3D[30alphanumerics]%26t%3D[10digits]
the link intended for android pebble app appears to be:
https://boot.rebble.io/api/stage2/?access_token=[30alphanumerics]&t=[10digits]
When requesting this link from my Sailfish device webbrowser, a page is returned with the text: "Please be more specific."
Would there be any way to trick Rockpool to login by manually modifying the link? or would it be necessary to consult the rebble devs?
The text was updated successfully, but these errors were encountered: