Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8777369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:15:47+00:00 2026-06-13T19:15:47+00:00

This tutorial was a grate help in understanding the AccountManager and authToken : Nick’s

  • 0

This tutorial was a grate help in understanding the AccountManager and authToken:
Nick’s Blog Authenticating against App Engine from an Android app

I still need to get that to work with a basic Java SSL/TSL socket server where for now
my Android users authenticates themselves with passwords.

UPDATE:
The Server works as relay station for the SPRIID app users.
With the SPRIID app you send files to other devices trough this dedicated java Server.
– Everything work trough C2DM(GCM)
– Backend MongoDb databas register users and frindlist’s and handle transfer details
For test trying the app, install it, add yourself as friend, send something..

How can the server pars the authToken return with getAuthToken()?
Must my server run some GAE api?
Is the “Federated Login” the way to go and how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:15:48+00:00Added an answer on June 13, 2026 at 7:15 pm

    Think i got it working now warning do Im still learning this

    In the Nick’s sample code above im replacing the

    accountManager.getAuthToken(account, "ah", false, new GetAuthTokenCallback(), null);
    

    with

    accountManager.getAuthToken(account,"oauth2:https://www.googleapis.com/auth/userinfo.profile", false, new GetAuthTokenCallback(), null);
    

    Now i get a Token and can in my chrome browser do:

    https://www.googleapis.com/oauth2/v1/userinfo?access_token=ya29.AHeS6ZQpS0T0jipB0grWzuqINDdP98zjj-uljvw1GTR1_2s
    

    That will return this json

    {
     "id": "100864638927226952543326",
     "name": "Billy Bob",
     "given_name": "Billy",
     "family_name": "Bob",
     "link": "https://plus.google.com/13444649626952543326",
     "picture": "https://lh5.googleusercontent.com/--QPesNgxryI/AAAAAeewAAAI/AAAAAAAAAFo/J-LSwl0bcVU/photo.jpg",
     "gender": "male",
     "locale": "us"
    }
    

    What i wanted was the “id”, that is suppose to be unique

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This tutorial here is a good source of generating kml from the database using
This tutorial come from android-er , The main activity(AndroidScheduledActivity.java) start a AlarmManager to trigger
This tutorial shows how to Define a Custom Workflow to Deploy a Database from
This tutorial http://www.blocsoft.com/blog/imageshack.asp shows a great way to upload to imageshack and get a
In this tutorial , where are the following values coming from? password ( OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
this is regarding this tutorial page from lazyfoo's set of SDL tutorials. There he
From this tutorial http://www.brighthub.com/internet/web-development/articles/11010.aspx I found the code below. Is there a way to
I am creating a HelloWorld web/spring application from scratch. I have followed this tutorial
Following this tutorial , I could execute GWT app using eclipse. I could access
From this tutorial . see i have one pre-built static library named as stackoverflow.a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.