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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:16:24+00:00 2026-05-26T05:16:24+00:00

If it possible to force a re-authorization (I.E asking for username and password) from

  • 0

If it possible to force a re-authorization (I.E asking for username and password) from the LinkedIn oauth api?

Usecase:
To protect sensitive data, in case someone forgets to log out, some actions on our site can only be taken after you re-verify yourself with your password (even when logged in). We allow login using LinkedIn, in which case the user does not have a separate password on our site. In this case we would like to force a re-authorization (username/password) from the LinkedIn api so that user can still confirm his identity.

The important issue here is that it cannot just accept because the user is already logged in on LinkedIn and has accepted to app, this would not provide any level of security for someone who has forgotten to log out, it has to explicity ask for authorization by password again.

  • 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-26T05:16:24+00:00Added an answer on May 26, 2026 at 5:16 am

    There is no way to force re-asking of the OAuth username/password once the user has logged in other than to log them out of LinkedIn first.

    You can see this in action by opening your LinkedIn JSAPI-enabled site and having the user ‘Sign in with LinkedIn’. Once you have completed the initial OAuth sign-in/authorization, open a tab in the same browser and go to linkedin.com – you will also have been logged into the site.

    In your case, if the user simply walks away from the computer leaving the browser open, they will still be logged into both of your site AND linkedin.com. Closing the browser, or logging out via the API or the linkedin.com site will solve this.

    One strategy might be that any access to ‘sensitive’ data generates a logout, which will clear the cookies but not the app authorization, and then to instantiate the auth dialog:

    IN.User.logout();
    IN.UI.Authorize().place();
    

    Details here. I’ve tested this and it seems to work well.

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

Sidebar

Related Questions

Is it possible to prevent user from writing letters to a textbox (i.e. force
Is it possible to force liftweb mapper use table name in lower case for
is it possible to force a thread to return from a call to a
Is it possible to force the server to download files from peer-to-peer networks just
Is is possible to force Grid view edit mode without using object data source,
Is it possible to force a column in a SQL Server 2005 table to
Is it possible to force the iPhone to shutdown ( programmatically , of course)?
I would like to know whether it is possible to force LWP::UserAgent to accept
In a Web application, is it possible to force a PDF file to be
In SQL Server 2000/2005, Is it possible to force the default value to be

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.