Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Grammarly login shows an error #352

Open
martinszeltins opened this issue Mar 1, 2023 · 18 comments
Open

Grammarly login shows an error #352

martinszeltins opened this issue Mar 1, 2023 · 18 comments

Comments

@martinszeltins
Copy link

I am following the instructions to log into Grammarly on VSCode but I am getting this error (Linux, Ubuntu 20.04)

image

Request $/handleOAuthCallbackUri failed with message: Minified error #8: See https://developer.grammarly.com/docs/error-explainer...

Grammarly account or premium

Run grammarly.login or Grammarly: Login / Connect your account command to connect your Grammarly account.
Run grammarly.logout or Grammarly: Log out to disconnect your account.

I ran grammarly.login then I was redirected to the Grammarly login page and then I clicked on the "Continue" button and then this error showed up in my VSCode.

@gfraiteur
Copy link

Same here.

@nicofranzp
Copy link

+1 ... MacOS: shift+cmd+p, select "Login/connect to your account", follow the instructions and get the error.

@slyons
Copy link

slyons commented Mar 2, 2023

Nothing in the output console, either

@ZhijieFan
Copy link

Same here.

1 similar comment
@tmogoa
Copy link

tmogoa commented Mar 3, 2023

Same here.

@tmogoa
Copy link

tmogoa commented Mar 3, 2023

Same here.

I switched to the pre-release version and now it works.

@chienhsiang-hung
Copy link

Same here.

I switched to the pre-release version and now it works.

Tried pre-release. No error this time but still not logged in.

@Raaghu
Copy link

Raaghu commented Mar 8, 2023

+1

@gragusa
Copy link

gragusa commented Mar 8, 2023

With the pre-release version, I get the following error when I shift+p - Check Text

Ready!
[Error - 5:03:50 PM] Server initialization failed.
Error: Connection got disposed.
    at Object.dispose (c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-jsonrpc@6.0.0\node_modules\vscode-jsonrpc\lib\common\connection.js:1044:27)
    at Object.dispose (c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-languageclient@7.0.0\node_modules\vscode-languageclient\lib\common\client.js:73:35)
    at c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-languageclient@7.0.0\node_modules\vscode-languageclient\lib\common\client.js:2320:28
[Error - 5:03:50 PM] Starting client failed
Error: Connection got disposed.
    at Object.dispose (c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-jsonrpc@6.0.0\node_modules\vscode-jsonrpc\lib\common\connection.js:1044:27)
    at Object.dispose (c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-languageclient@7.0.0\node_modules\vscode-languageclient\lib\common\client.js:73:35)
    at c:\Users\DummyUser\.vscode\extensions\node_modules\.pnpm\vscode-languageclient@7.0.0\node_modules\vscode-languageclient\lib\common\client.js:2320:28

I cannot login and cannot check text. This happens on a fresh copy of VSCode with only this extension installed.

@qwezey
Copy link

qwezey commented Mar 10, 2023

I'm facing the same issue

@bajtos
Copy link

bajtos commented Mar 14, 2023

Same problem here. When I open the URL from the error reported by the VS Code Extension, Grammarly website shows this:

Invalid oauth callback url: vscode://znck.grammarly/auth/callback?windowId=1

Screenshot 2023-03-14 at 10 58 43

@rahji
Copy link

rahji commented Mar 14, 2023

This is the same as closed issue #323 . It seems to still be an issue.

@spydx
Copy link

spydx commented Mar 15, 2023

I can confirm that switching to pre-release fixes the issue.

@Jimmy-Z
Copy link

Jimmy-Z commented Mar 17, 2023

Yeah, I'm also having this issue.

@MahdiNazemi
Copy link

This is the same as closed issue #323 . It seems to still be an issue.

That issue is about getting Error #7. Most people here seem to get Error #8:

Invalid oauth callback url: vscode://znck.grammarly/auth/callback?windowId=1

@MahdiNazemi
Copy link

It looks like Grammarly has updated its APIs. I suspect this causes the login error.

One of the changes is

The oauth option is now specified at the top level as oauthRedirectUri.

@rellyrell24
Copy link

Not sure if anyone is working on this, but I made a branch with a possible implementation for updating Grammarly SDK to 2.x in hopes of solving this issue and possibly others.

@dqbd
Copy link

dqbd commented Apr 10, 2023

Linking a useful workaround found by @crmelchior in a different (duplicate?) issue:

#350 (comment)

After switching to 0.18.0, successfully logging in and switching back to release (0.22.1) version, I'm still logged in and everything seems to work fine.

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

No branches or pull requests