Skip to content
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

Strange behavior of Microsoft authorization on Linux #475

Open
Envel-Nikita-Gutsenkov opened this issue Jun 29, 2022 · 2 comments
Open

Strange behavior of Microsoft authorization on Linux #475

Envel-Nikita-Gutsenkov opened this issue Jun 29, 2022 · 2 comments
Labels

Comments

@Envel-Nikita-Gutsenkov
Copy link

Linux Fedora 36, GNOME 42.2, Wayland

After executing the URL opening code, the URL (Microsoft authorization) does not open. After closing the Java program, the URL opens on its own O_o

That is, the URL opens only after the program is closed and this does not allow authorization.

@hedgehog1029
Copy link
Member

that's weird! by default, we use Java's Desktop#browse to open URLs - on Linux this uses gnome_url_show. We also fall back to invoking xdg-open if the Desktop call fails.

I would generally expect the gnome_url_show path to work on GNOME, but if it is falling back to xdg-open, perhaps that script is doing something strange?

@KWik
Copy link

KWik commented Nov 17, 2022

I have the same issue. The OneDrive client for Linux has a workaround, where it will pass you an URL to paste in a browser, then asks you for the resulting URL, which should contain the token. Is this something that could be used as a workaround here as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants