Reputation: 19446
Goal: To get actual user email on dev server when using OAuth 2.
Current Behavior: User service always returns [email protected].
Is there a way to achieve this goal? This would be very helpful for testing purposes.
Upvotes: 0
Views: 157
Reputation: 11
Unfortunately no as per the documentation
On the local development server, oauth.getCurrentUser() always returns a User object with email set to "[email protected]" and user ID set to 0 regardless of whether or not a valid OAuth request was made.
Upvotes: 1