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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:15:18+00:00 2026-05-24T19:15:18+00:00

Am connecting an android app to Rails Oauth 2.0 Provider using signpost lib. Each

  • 0

Am connecting an android app to Rails Oauth 2.0 Provider using signpost lib. Each time i login, the app must be authorized vai a web browser launch. It is there a way to avoid?

  • 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-05-24T19:15:18+00:00Added an answer on May 24, 2026 at 7:15 pm

    You don’t say, but it sounds like you’re not caching your access token and secret. If you save these in a shared preference and use them to sign your requests next time your app runs, you should be able to skip the authentication stage and directly access the resources.


    EDIT:

    Thanks for the comment – once your user has authenticated, you can either have them enter a PIN into your application which you will then exchange for the access token and secret, or you must use the initial callback which actually just sends the PIN directly to you without user intervention.

    So if you don’t want your users to have to enter the PIN manually, you’ll just have to use the callback. So long as the token remains valid you will never need to use the callback again.

    If you are being forced to re-authorise your app each time you log in (as your question clearly states), then I can see four possibilities:

    1. You are not, in fact, caching your access token properly (or it is getting corrupted)
    2. Your token is becoming invalid very shortly after you log in (perhaps it’s validity is very short)
    3. Your implementation is incorrectly taking you to the login page when in reality, it doesn’t need to
    4. Your implementation is incorrectly requesting a new access token (thus invalidating the previous one – I had this particular bug that had me stumped for weeks in my app)

    At this stage, I think you’ll need to post some code so we can try to see where the problem may be.

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

Sidebar

Related Questions

I'm working on connecting an android app in Java with google app engine. This
I have just started connecting android app with php My file works very fine
I am developing a network app for Android and I'm still stuck on connecting
I am developing a network app for Android and I'm still stuck on connecting
I can't find any specific solution for connecting to Facebook from an Android app.
I have an android app which uses camera. I am using a socket connection
I am currently developing an Android app that is using a remote MySQL database
I am creating an android app and I am connecting and exchanging data with
I have an android app which connects to a server using a socket connection
In one of my android app, I am using push Notification from Urban Airship.

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.