massimozappino / tagmycode-intellij

Official IntelliJ IDEA plugin for TagMyCode
tagmycode.com
Apache License 2.0
5 stars 2 forks source link

Unable to authenticate #1

Open isakrubin opened 6 years ago

isakrubin commented 6 years ago

Fresh install for DataGrip on Linux. Asked to authenticate but neither the Authenticate button nor the "Sign up for Free" button/link works.

Running AwesomeVM 4 on Debian Stretch.

Was able to create an account manually on the webpage, is there a way to manually add credential to the plugin?

massimozappino commented 6 years ago

Thank you for the issue. This is a known bug that occurs in some Linux distributions but we were unable to reproduce it yet. It should be fixed in the next release using another java method.

Do you have the command xdg-open? It's the fallback if Desktop.getDesktop().browse() fails.

However you can login using this link

isakrubin commented 6 years ago

I have xdg-open yes but seems to make no difference, login using the link you provided worked great though, consider putting that info in the readme.

isakrubin commented 6 years ago

ide fatal errors_099

isakrubin commented 6 years ago

As soon as the software is updated, in this case both DataGrip and PhpStorm, this plugin seems to lose auth, but not fully.

Console shows output like:

1:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

2:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

3:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

4:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

5:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

6:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

7:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

8:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

9:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

10:54 PM TagMyCode: Error fetching refresh token: Response body is incorrect. Can't extract a token from this: '{"error":"invalid_grant","error_description":"Invalid refresh token"}'

However there is no button to reauth or to logout and in again.

massimozappino commented 6 years ago

Thank you for feedback We will analyze this issue. You can try logout and re-login: Settings Button -> Account Tab -> Logut Button