13
v-vp
5y

Dev.to app asks me to type in my github username and password into the github login page opened in their app. Is there no better way to do OAuth on Android apps?

Comments
  • 3
    Well, if you already have GitHub app installed and signed in, then this shouldn't happen. You would be asked for your consent to let Dev.to access your GitHub account.
  • 2
    @nash87 I cannot find github app on playstore.
  • 1
    Try FastHub or PocketHub.
  • 3
    I too have wondered why some companies use a web page for authentication instead of allowing a native login.
  • 0
    @TitanLannister What do you mean by native login ?
  • 0
    Apps can open the user's webbrowser, oauth should work if programmed properly. So the user can login in the 'trusted' web browser.

    I think Google disallowed embedding their login page in apps.
  • 0
    @nash87 using get/post apis to authenticate with native java/kotlin buttons and other ui instead of showing a webpage inside webview
  • 0
    @TitanLannister nooooo very bad idea!!!! GitHub would never allow that
Add Comment