-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use rookie for seamless login #988
Comments
Or you could use something mobile version of this app has - opening new window with Spotify login page where you can login to your account, and app could grab these cookies when logged in. (I was genuenly curious why it's a thing on mobile but not on PC) |
@kbvivi
|
App could probably just could take advantage of webviews to show Spotify login page in separate window that is not specifically some browser and then when app detects navigation - it will grab cookies from that webview. So basically the same as mobile version has but on PC |
I came to suggest the same approach as Rookie as I've used that library before, but I don't think a similar library exists for Dart, it would have to be created. The easier approach is going to be using web view or some form of controlled browser environment to have the user log in and extract the cookie after. |
Flutter desktop has no Webview support. Although it's planned but it's stuck on PlatformViews support. flutter/flutter#41722 Although there's library like desktop_weview_windows and webview_windows, these don't expose any API to get the cookies. |
Is there an existing issue for this?
Pain
The login process isn't convenient, so I'm suggeting a feature to improve it
Suggested solution
You can use the library I created called rookie for extracting the cookies from the web browsers and login seamlessly.
https://github.com/thewh1teagle/rookie
Useful resources
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: