-
Notifications
You must be signed in to change notification settings - Fork 807
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
GUI/LIBSYNC: force login flow V2 with config setting #6261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of little formatting changes requested but otherwise looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed, coud you remove the merge commits in this PR? After that we can merge :)
|
AppImage file: nextcloud-PR-6261-49b6a3a13d2a82b342dbdc00d0094375a6937a43-x86_64.AppImage |
Indeed, looks good! |
Seems some required tests are failing for unrelated reasons, can they be restarted @claucambra ? |
c9b90b8
to
3f35720
Compare
@mickenordin I am confused on the state of the PR as visible in the github web UI |
Done! It should be ready to merge as far as I know. |
so this time I had the button to enable the run of checks |
@mickenordin you did a merge of master instead of a rebase |
I hate computers... I'll see if I can clean up this mess. |
This patch allows a user to set the config variable: forceLoginV2=true This will make the client use the browser login flow instead of the webview. This is useful for making the user experience equal on Windows, Linux and Mac. Currently only Macs use the v2 flow and it was only possible to get this behaviour in the Windows and Linux clients at build time using a CMAKE flag. The default behaviour is kept the same, and nothing changes for the user unless the flag is manually set in the config file. A setter is included in this patch, although it is not yet used in the GUI. Signed-off-by: Micke Nordin <[email protected]>
Formatting fixes Co-authored-by: Claudio Cambra <[email protected]> Signed-off-by: Micke Nordin <[email protected]>
Signed-off-by: Micke Nordin <[email protected]>
Ok @mgallien , how is that? |
@mickenordin perfectly fine |
This patch allows a user to set the config variable:
forceLoginV2=true
This will make the client use the browser login flow instead of the webview. This is useful for making the user experience equal on Windows, Linux and Mac. Currently only Macs use the v2 flow and it was only possible to get this behaviour in the Windows and Linux clients at build time using a CMAKE flag.
The default behaviour is kept the same, and nothing changes for the user unless the flag is manually set in the config file. A setter is included in this patch, although it is not yet used in the GUI.