Hi Rob,

It sounds like you might be leaving out the "service" parameter, which
defines the scope of the Auth token.  For the Provisioning API,
service=apps.

http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_reference.html#Authentication

-alex

On Jan 24, 4:25 pm, rpatton <[EMAIL PROTECTED]> wrote:
> Hello,
>   I am using the APIs to create email accounts, and what I have
> noticed as I work on this is that the Authentication call is
> documented as:
>
> Google will return a response containing your authentication token in
> response to your POST request. The authentication token will be the
> Auth value on that page, and you need to extract the token from the
> page.
>
> Yet when I execute the authentication call, the data returned does not
> contain any AUTH string.  A sample return (mangled to protect the
> data)
>
> SID=DQAAAHgAAACCpdao_nlfQYmMZyDT9G5RqH6ZG-
> Aa4FJVRrfOAjTJO0ik4FgUr72gSVZAAwQbHP5kI9Fgy6VVyzV3AyELxozfWc3rSVW5TPPAXwHGet0DgZ5T6BRJVBvwWDIDBvqiXD-
> gh-7iFAx8vZE6NJnLLzTfojRlFGkO_61OLt8FX5RrYA
> LSID=DQAAAHoAQAAs5z7nLVOSGRfVqOnM7hXlvhXupePx6CXwDT9YgtsWUhdUzPHCXHYrrtw4O2oPGQQcJ4A3etb9pdCdwMVKVTDgYjvHTZwTx1qQ513knvlwh0CcY4ZiyRKrXV-
> JkZ0eaXWfz0CjPXGyy8B40WTiO8f0wr5hF9QbGMm4Av5oATuthw
>
> I see a SID= and an LSID= in there, but no AUTH=.  Any tips?  I've
> submitted maybe 60 authentication requests, they have all come this
> way.  Or am I completely misunderstanding the documentation on this?
> The actual error back from the Google site when I submit a
> provisioning request is an HTTP 411 which puzzles me enough, I'm
> hoping that error is related to this auth somehow because the Content-
> Length is set correctly on my request.
>
> Regards,
>   Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to