divinites / oauth-mail

A light-weight email agent for Sublime Text 3
6 stars 1 forks source link

Always show The authentication flow has completed. #1

Closed ewiggin closed 8 years ago

ewiggin commented 9 years ago

I create client_id, client_secret for Google Account. Redirection url: http://localhost:10111/

Always show this message: "The authentication flow has completed." I can't do anything.

divinites commented 9 years ago

Hi, Thanks for your question. That sentence means literally: the authentication flow has complete so you can start using your email in sublime text.

use command-shift -P open the command palette , type “oauth”, you will see several command that you can use.

在 2015年6月23日,上午10:47,Mario Martinez notifications@github.com 写道:

I create client_id, client_secret for Google Account. Redirection url: http://localhost:10111/

Always show this message: "The authentication flow has completed." I can't do anything.

— Reply to this email directly or view it on GitHub https://github.com/divinites/oauth-mail/issues/1.

ewiggin commented 9 years ago

When i choose "oauth" commands (send, write, etc.) always open a browser tab and show "The authentication flow has completed." and do nothing.

divinites commented 9 years ago

Since you start another post, I suppose that you solved this problem.

ewiggin commented 9 years ago

No, i can't solve this problem.

divinites commented 9 years ago

If the "write" command also leads to open a browser, that would be really strange, since the code for writing an email does not involve any authentication process...

any output from the command prompt window?

amoksito commented 9 years ago

Hello. I have the same problem. The "write" command just open a new tab with a Yaml block at the top. But, if I try to send a mail, the "The authentication flow has completed." always appears, and the mail is never send.

The command prompt window put: KeyError: 'refresh_token'

divinites commented 9 years ago

Hello, thanks for your feedback. Could you please post the error message from the command prompt here? Also, it would be helpful to post your OauthMail.sublime-settings (with your private information masked of course), mine is as follows and I do not have problem sending email:

{ "Mailboxs": [

                {
                    "identity": “XXXXX@gmail.com",

                    "parameters": {

                                    "name": “XXXXX",
                                    "client_id": “405583906945-XXXXXX.apps.googleusercontent.com",
                                    "client_secret": "FXXXPXXXXXU3",
                                    "default": "yes"
                                  }
                },

                {
                    "identity": “XXXXX@live.XX",
                    "parameters": {

                                    "name": "TXXXX",
                                    "client_id": "000XXXXXXDA",
                                    "client_secret": "0YdkVbXXXXXXXFdaDc",
                                    "default": "no"
                                 }
                }

            ],
"List Period": 4

}

在 2015年9月9日,上午12:43,amoksito notifications@github.com 写道:

Hello. I have the same problem. The "write" command just open a new tab with a Yaml block at the top. But, if I try to send a mail, the "The authentication flow has completed." always appears, and the mail is never send.

The command prompt window put: KeyError: 'refresh_token'

— Reply to this email directly or view it on GitHub https://github.com/divinites/oauth-mail/issues/1#issuecomment-138732558.

divinites commented 8 years ago

Welcome to test the new version!

gongon0108 commented 6 years ago

Did you solve this? I suffer from the same problem. I really wonder how to solve it...

NiceSugar commented 5 years ago

Did you solve this? I suffer from the same problem. I really wonder how to solve it...

Me too.Did you solve it?