Hey there,
As you know, the old embedded webview on SailfishOS 5.1 doesn't let you log in as the web page is incompatible. Combined with the disallowing of anonymous browsing by Reddit, that is a bit of a problem now.
I was wondering if you would consider a temporary workaround. I was able to log in with the Quickddit app by modifying qml/SignInPage.qml to comment out the webview and instead use the following:
TextField {
id: authurl
label: "Auth URL"
text: quickdditManager.generateAuthorizationUrl()
anchors.top: parent.top
}
TextField {
id: codeurl
label: "Code URL"
anchors.top: authurl.bottom
}
Button {
text: "Submit"
anchors.top: codeurl.bottom
onClicked: quickdditManager.getAccessToken(codeurl.text)
}
The idea being that the user can copy the auth URL into a browser that works. Then do the login stuff. And finally get redirected to your github with the code= parameter in there. The user can then copy that URL in the other field and submit. That creates a working account. At least, it worked for me.
Of course this is not a very user-friendly workaround so I can definitely see you not wanting something like that! But it would help people that are waiting for the next SailfishOS release which might be a while, so I figured I would share in case you are interested.
Hey there,
As you know, the old embedded webview on SailfishOS 5.1 doesn't let you log in as the web page is incompatible. Combined with the disallowing of anonymous browsing by Reddit, that is a bit of a problem now.
I was wondering if you would consider a temporary workaround. I was able to log in with the Quickddit app by modifying qml/SignInPage.qml to comment out the webview and instead use the following:
The idea being that the user can copy the auth URL into a browser that works. Then do the login stuff. And finally get redirected to your github with the code= parameter in there. The user can then copy that URL in the other field and submit. That creates a working account. At least, it worked for me.
Of course this is not a very user-friendly workaround so I can definitely see you not wanting something like that! But it would help people that are waiting for the next SailfishOS release which might be a while, so I figured I would share in case you are interested.