Toolbox OAuth login not working on Kubuntu 19.10
Hello,
I just installed the JetBrains Toolbox and wanted to log in into my account. The sign-in webpage opens successfully and the return to the toolbox works too.
But instead of showing me logged in the toolbox displays "Incorrect OAuth2 state provided".
Is there any solution for this problem?
I'm running on Kubuntu 19.10 with Toolbox 1.17.6802.
Here is the relevant extract from the log file:
1.17.6802 4669 2020-04-23 13:07:58.735 INFO ZDM IntelliJ projects search took 23ms. Reason: LOCAL_AND_REMOTE_ENTRIES_CHANGED
1.17.6802 4669 2020-04-23 13:07:58.735 INFO ZDM No changes in IntelliJ Projects
1.17.6802 4669 2020-04-23 13:07:58.755 INFO ZEW Updating ALL shell links to reflect recent change
1.17.6802 4669 2020-04-23 13:08:20.369 INFO ZlC Executing /usr/bin/xdg-openargs ('|' as separator): https://oauth.account.jetbrains.com/oauth2/auth?client_id=toolbox&redirect_uri=jetbrains://toolbox/jba/auth&response_type=code&state=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=offline_access openid r_assets r_ide_auth&code_challenge=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&code_challenge_method
=S256
1.17.6802 4669 2020-04-23 13:08:20.380 INFO ZlC Process /usr/bin/xdg-open with [https://oauth.account.jetbrains.com/oauth2/auth?client_id=toolbox&redirect_uri=jetbrains://toolbox/jba/auth&response_type=code&state=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&scope=offline_access openid r_assets r_ide_auth&code_challenge=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&code_challenge_method=S256] successfully
started with PID: 4858
1.17.6802 4669 2020-04-23 13:08:21.201 WARN ZlC Process exited in less than 4200ms, PID:4858
==========================================
Logger initialized
1.17.6802 5006 Main 2020-04-23T11:08:49.129 ensureSingleInstance This is not master instance. Sending messages and exit
1.17.6802 5006 Main 2020-04-23T11:08:49.129 sendMessageToMasterInstance Message: -1
./jetbrains-toolbox jetbrains://toolbox/jba/auth?code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&scope=offline_access openid r_assets r_ide_auth&state=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
1.17.6802 4669 2020-04-23 13:08:49.490 INFO Zz6 Unknown protocol scheme: null
1.17.6802 4669 2020-04-23 13:08:49.490 INFO Zz6 Unknown protocol scheme: null
1.17.6802 4669 2020-04-23 13:08:49.490 INFO Zz6 Unknown protocol scheme: null
1.17.6802 4669 2020-04-23 13:08:49.490 ERROR Zql Incorrect OAuth2 state provided
1.17.6802 4669 2020-04-23 13:08:49.490 ERROR Zdz Incorrect OAuth2 state provided
Please sign in to leave a comment.
Have same issue with Arch/KDE5.
Few days ago it was worked and I have been logged in Toolbox, but today I have installed Toolbox Extension for Chromium and realized that I am logged out and unable to Log In back with same error.
Toolbox App 1.17.6802, Arch Linux (Linux 5.6.6-arch1-1)
Chromium: Version 81.0.4044.122 (Official Build) Arch Linux (64-bit)
Operating System: Arch Linux
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.6-arch1-1
OS Type: 64-bit
But my logs are bit different:
1.17.6802 7345 Main 2020-04-24T21:01:56.2116 sendMessageToMasterInstance Message: -1
./jetbrains-toolbox jetbrains://toolbox/jba/auth?code=XXX&scope=offline_access&state=XXX
1.17.6802 3672 2020-04-25 00:01:57.205 ERROR Zdz Failed to fetch user details: Authorization required
1.17.6802 3672 Main 2020-04-24T21:02:02.2122 showWindowAt Show window at: 1347 1093 440 700
1.17.6802 3672 2020-04-25 00:02:02.317 INFO ZF3 Refreshing feed on window open
1.17.6802 3672 2020-04-25 00:02:02.360 WARN ZwR Unable to download feed from https://toolbox-internal-feed.labs.intellij.net/feeds/v1/internal-feed.feed.xz.signed: toolbox-internal-feed.labs.intellij.net: Name or service not known