21 messages in com.googlegroups.bloggerdev[bloggerDev] Re: Problem with Non-Gma...| From | Sent On | Attachments |
|---|---|---|
| Cory W | 01 May 2008 13:11 | |
| Cory W | 01 May 2008 14:13 | |
| Jeff Scudder | 02 May 2008 09:42 | |
| Cory W | 05 May 2008 09:27 | |
| Jeff Scudder | 08 May 2008 10:34 | |
| Cory W | 12 May 2008 12:54 | |
| Jeff Scudder | 13 May 2008 14:06 | |
| Cory W | 14 May 2008 13:04 | |
| Cory W | 15 May 2008 13:43 | |
| Jeff Scudder | 15 May 2008 16:42 | |
| IC | 07 Jul 2008 22:51 | |
| serg...@gmail.com | 09 Jul 2008 15:15 | |
| Trevor Johns | 11 Jul 2008 01:38 | |
| Trevor Johns | 11 Jul 2008 01:55 | |
| IC | 13 Jul 2008 00:48 | |
| IC | 13 Jul 2008 00:50 | |
| IC | 15 Jul 2008 00:01 | |
| IC | 15 Jul 2008 02:30 | |
| Trevor Johns | 15 Jul 2008 15:21 | |
| IC | 16 Jul 2008 23:29 | |
| jottos | 07 Sep 2008 21:39 |
| Subject: | [bloggerDev] Re: Problem with Non-Gmail Google Accounts![]() |
|---|---|
| From: | IC (ic...@infocrumbs.net) |
| Date: | 07/07/2008 10:51:23 PM |
| List: | com.googlegroups.bloggerdev |
Hey there
I have a problem that seems similar to this, with one of our customers using Google Apps accounts. But I cannot find the account_type variable or its equivalent in the GData Java Client library. Can anyone point me toward the right direction ?
It seems that the Java version of the library is missing some glue code in comparison to the Python or Javascript releases, especially for managing services.
Thanks in advance.
Cheers,
On May 16, 9:42 am, Jeff Scudder <j....@google.com> wrote:
Hi Cory,
Actually I think your previous email(s) have been showing up. ( Here
is the thread
onGoogleGroupshttp://groups.google.com/group/bloggerDev/browse_thread/thread/c14c57...
)
I tried using you code with myGoogleAppsdomain and I was able to authenticate with these three settings:
1. did not set account_type (use the default 'HOSTED_OR_GOOGLE'
client = get_blogger_service('t....@example.com', 'googleaccount password') Failed client = get_blogger_service('t....@example.com', 'googleapps password') Worked
2. set the account_type to use 'GOOGLE'
client = get_blogger_service('t....@example.com', 'googleaccount password') Worked client = get_blogger_service('t....@example.com', 'googleapps password') Failed
3. set the account_type to use 'HOSTED'
client = get_blogger_service('t....@example.com', 'googleaccount password') Failed client = get_blogger_service('t....@example.com', 'googleapps password') Worked
The most interesting case is number 1, and it shows that when you have aGoogleAppsaccount, theAppspassword is used to authenticate by default. It might be a good idea to always useGOOGLEfor the account_type since the account that someone uses to sign in the Blogger would be aGoogleAccount, not anAppsaccount. Does that make sense?
Happy coding,
Jeff
On May 15, 1:44 pm, Cory W <cory...@gmail.com> wrote:
I posted it again yesterday afternoon to the list and it still hasn't shown up. What is going on?
Cory
On May 14, 3:05 pm, Cory W <cory...@gmail.com> wrote:
Hi Jeff,
I posted it to the group, but I guess it got lost. Let's try again...
On May 13, 4:07 pm, Jeff Scudder <j....@google.com> wrote:
Hi Cory,
Since you mention that the account which is failing is both aGoogle Account and anAppsaccount, the issue might be a mismatch in passwords. Does it work if you try account_type = 'HOSTED' instead of 'GOOGLE'?
I've tried it in every combination with both account passwords and account_type settings. Nothing works, and I continue to get the same error "gdata.service.BadAuthentication: Incorrect username or password."
In the past I set up two accounts with the same email address (one in Apps, one aGoogleAccount) and gave them different passwords so that it would be obvious which account was being used. Here is the explanation in that thread, perhaps it will be helpful.
My two accounts with the same email address also have different passwords. Again, every combination fails with the same error.
Would you be willing to try authenticating your two accounts with the python function I provided in my original message? I still believe this is a bug in the API, since I have not been able to get it to work at all for non-gmail.com accounts. I would love to be wrong about this and find a way to make it work.
Thanks again for your help,
Cory
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Blogger Data API" group.
To post to this group, send email to blog...@googlegroups.com
To unsubscribe from this group, send email to
blog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bloggerDev?hl=en
-~----------~----~----~----~------~----~------~--~---




