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 login #3
Comments
Have you cracked the pinning on the android app @jaylinski ? |
@yoshimo Only for an older app-version: https://github.com/jaylinski/kodi-addon-vimeo/blob/master/docs/android-app-inspection.md I'm currently struggling to get the latest version working on Android 11 with MitM interception. I'll give https://github.com/shroudedcode/apk-mitm a try on the weekend. |
so far the patched app says "something strange happened" when trying to connect to api.vimeo.com. |
We go with a post request to This includes a url encoded
is returned |
to see what the user owns we go with a fully url-encoded GET request to
line breaks are inserted for better readability. If you have nothing you get back this block that looks similiar
|
@yoshimo Thanks for investing your time and getting things working with the apk-mitm tool. Also works for me now :) What do you think about using the "Device code grant"-method for authorization?
This way the Vimeo user doesn't have to enter a password in Kodi. The user can authenticate on a (mobile) device and can grant just the permissions required for the Kodi addon. |
I think for the average user a "password&username" procedure is more intuitive and less work. |
@yoshimo Small update: I started to implement the login (see PR above). I chose to use the device-code grant, because it returns an access-token with infinite lifetime (in contrast to "password&username", which returns an access-code only valid for an hour, and I don't want to bother with refresh-tokens and stuff). Also this way we don't have to store the password as clear-text. |
Login/logout now works. Only thing left is the profile-folder and polishing. |
Description
As a Vimeo plugin user I want to be able to login to my user account, so I can see my own videos and other details from my profile page.
Acceptance criteria
Login
item is shown in the root view if no user is authenticatedLogin
item is selected, a user can authenticate with a device code (https://developer.vimeo.com/api/authentication#understanding-auth-workflows)My profile
item is shown in the root viewLogout
item is shown in the root viewMy profile
item is selected, a list with the itemsVideos
,Likes
,Followers
,Following
,Channels
,Groups
is shownNotes
Think of a way to protect the Vimeo API secrets.The Vimeo API secret from the Android App will be used.The text was updated successfully, but these errors were encountered: