-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Login (connect) with Emacs #35
Comments
You can add scheme to redirect function to support connect account. |
Thanks for the information! ❤️ I wonder how does this work? If I understand fully, I don't think Emacs can handle URI redirection. I reckon these following lines are the key, which Emacs can NOT do. |
Another approach is to start a local server to handle redirect. e.g. I can redirect to http://127.0.0.1:5555/emacs-oauth-callback on successful authorisation. |
Awesome! Sounds good to me! ❤️ Is there an example code for this (in TypeScript is good)? I use to look at the code directly under your repo grammarly/extension, but this became meaningless if I go for another approach. How do I send URL request, etc? Basically, these lines https://github.com/znck/grammarly/blob/def921982df6bd83303efe785f1a6bd59352f4ab/extension/src/GrammarlyClient.ts#L188-L202. How should I replace this? Very thank for your help! |
Trying to get the old method 2 back, see the discussion https://github.com/grammarly/grammarly-for-developers/discussions/18 (moved to znck/grammarly#281).
The text was updated successfully, but these errors were encountered: