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 9030947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:36:54+00:00 2026-06-16T07:36:54+00:00

I am creating an Android app and want to use SSO to make it

  • 0

I am creating an Android app and want to use SSO to make it easy for users to sign in to the application using their Google or Facebook account. The app stores its data a server so the user can access it from different devices. On the server, I am planning to use the user’s email to identify the user.

On the client I know the email belongs to the user, but how can the server be sure that it’s the real user and not an attacker that sends another user’s mail address to the server?

Do I have to obtain and send the access token to the server together with the email and have the server verify the email using this token or is there something else I can do?

Since the I’m only interested in the email for logging in it would be convenient to just fetch the mail address once and remember it on the client until the user signs out of my app. However if I need to keep the access token as well I need to regularly check if it’s expired and renew it if needed.

  • 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-16T07:36:55+00:00Added an answer on June 16, 2026 at 7:36 am

    After more investigation and thinking I have decided to send the access token to my server (over https) and have the server use that to get the email address of the user from Facebook/Google.

    It seems to be a pretty standard way to handle this scenario and if I do this I don’t have to come up with some own solution that is bound to overlook some scenario and leave gaping security holes.

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

Sidebar

Related Questions

I'm creating my first android app that will make use of SQlite. I have
if yes, is there a tutorial available for creating an android app using the
I am creating a web application (completely running on the server, no Android App
I am creating a app in android. In that i am using list view.
I am creating an Android app that needs to access the Bible. I want
I am creating an option menu in my app. Now I want to use
I am creating a android app using LunarLander as a example. Now I need
I am creating an Android app that uses GPS. I want to prompt the
I'm creating a mobile web app (not native), and I want to use the
I am new to Android and I just started creating an application. I want

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.