Hi,

I am using Endpoints in a JavaScript Client, with authentication via OAuth 
2.0. In other words I have added a parameter of type User to each class 
method which require authorization, e.g.:

@ApiMethod(name = "scores.insert")
public Score insert(Score score, User user) throws OAuthRequestException, 
IOException {
  ...
}


In one of my method I send a mail with the java API. This works fine with 
the sender address of the message being listed in the Cloud Platform 
Console under Email API Authorized Senders (see 
https://cloud.google.com/appengine/docs/java/mail/)

However the documentation says that:

"For security purposes, the sender address of a message must be one of the 
following:

   - The Gmail or Google Apps Account of the user who is currently signed in
   - Any email address of the form [email protected] or 
   [email protected]
   - Any email address listed in the Cloud Platform Console under Email API 
   Authorized Senders" 
   <https://console.cloud.google.com/project/_/appengine/settings>


What exactly does mean the FIRST bullet point: is it the gmail account of 
the end-user who is logged via OAuth? i.e. the user that is passed as a 
parameter to the method?

Thanks in advance!



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6a581559-37ff-4f7c-ad3d-488e20dcf948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to