Questions tagged [oauth]

OAuth (Open Authorization) is a specification for client applications to access protected resources on behalf of a user. It was developed as an alternative to users handing out their login credentials to third-party applications.

Description

OAuth is an open standard for authorization. OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner. It specifies a process for resource owners to authorize third-party access to their server resources without sharing their credentials. Designed specifically to work with Hypertext Transfer Protocol (HTTP), OAuth essentially allows access tokens to be issued to third-party clients by an authorization server, with the approval of the resource owner, or end-user. The client then uses the access token to access the protected resources hosted by the resource server. OAuth is commonly used as a way for web surfers to log into third party web sites using their Google, Facebook or Twitter passwords, without worrying about their access credentials being compromised.

OAuth is a service that is complementary to, and therefore distinct from, OpenID. OAuth is also distinct from OATH, which is a reference architecture for authentication, not a standard.

Resources

20112 questions
6
votes
1 answer

App Engine Java - Currently Using Federated Login/Openid - How Should I Persist a Successfully Authenticated Facebook User?

I have my Google App Engine Java application humming along nicely using openid/federated login. I save a UserProfile object that I persist once we have a logged in user that saves a reference to the UserService.getCurrentUser() object (and its…
dyeryn
  • 61
  • 2
6
votes
3 answers

Are there OAuth 2 server side PHP or Java implementations?

If there is more then one implementation, which one is better/mostly maintained? Specifically for OAuth 2.0 Draft 12.
fudge
  • 276
  • 5
  • 14
6
votes
1 answer

which openID and OAuth plugins for WordPress do you recommend?

Checking on wordpress.org I saw that there are several plugins for openID and OAuth. I don't really get a feel from stars and descriptions which are the most robust and popular (have been around for some time and hopefully will be around for…
Lina
  • 89
  • 1
  • 6
6
votes
1 answer

Login with Facebook and User Registration in a Mobile App

I have an Android application that provides users to use it by their Facebook accounts. For this purpose, I have integrated Facebook login. However, I confused about the user registration by Facebook. When the user logged in, Facebook provides…
anL
  • 1,073
  • 1
  • 11
  • 31
6
votes
1 answer

How to solve a never ending loop of login screens when trying to OAuth in chrome extension?

Trying to learn oauth for my chrome extension using identity api. I have uploaded code to https://github.com/Sandeep3005/learn-oauth-extension Issue : When background file runs - it opens a new tab with Gmail login page.But even I provide right…
6
votes
3 answers

Bing Ads API V11 Exception : Invalid client data. Check the SOAP fault details for more information

I am using BingAds-PHP-SDK to get authenticated user detail. Firstly done Authentication with OAuth successfully and get authentication token and refresh token. But when call GetUser() returning following Exception. Main Exception detail: stdClass…
kupendra
  • 1,002
  • 1
  • 15
  • 37
6
votes
1 answer

Linkedin OAuth pictureUrl leading to a 500 error

Until this morning, for the last 2 years I experienced no issues with the Linkedin Oauth system I have implemented. I can verify that all the data is still coming through, but suddenly a very strange issue has come up with the pictureUrl parameter…
capcom-r
  • 95
  • 9
6
votes
2 answers

How can I access auth-only Twitter API methods from a web application

I have a web application for iPhone, which will ultimately run within a PhoneGap application - but for now I'm running it in Safari. The application needs to access tweets from Twitter friends, including private tweets. So I've implemented OAuth…
Tom Hume
  • 499
  • 1
  • 6
  • 12
6
votes
3 answers

OAuth2 Password Grant vs OpenID Connect

I've been reading about OAuth and OpenID Connect extensively, but this question is specifically about the OAuth2 Resource Owner Password Grant (aka OAuth2 Resource owner credentials Grant, aka OAuth2 Password Grant) Some resources (like the book…
Konstantin
  • 334
  • 2
  • 12
6
votes
2 answers

NoClassDefFoundError: javax/xml/bind/UnmarshalException - Spring Security oauth2

Currently I'm working on securing a REST SpringBoot service. I've decided to use oauth2 with JWT. But I'm facing that strange error on application startup. I believe there must be some mistake on spring-security-core and spring-security-jwt…
user2919910
  • 575
  • 1
  • 7
  • 17
6
votes
1 answer

Auth0: How to enable silent authentication in Hosted Login Page?

I'm using hosted screen of Auth0. I want the following scenario to work- Let's say I have 2 apps- app1 and app2. One of the users signed in by providing email+password in app1. User then navigated to app2. Auth0 detected that the user has already…
Mihir
  • 3,812
  • 3
  • 25
  • 29
6
votes
1 answer

Authentication and authorization with OAuth2/OpenId Connect and microservices

I try to implement Oauth2/OpenId Connect into microservices architecture based on Java/Spring Cloud. My current problem is about tokens propagation between microservices or through a message broker like RabbitMQ. Very few topics talk about this. I…
6
votes
2 answers

GoogleSignInResult returns DEVELOPER_ERROR in Android app when requesting server auth code

I am connecting Google People API to the Android app following this manual: http://blog.iamsuleiman.com/people-api-android-tutorial-1/ I am using the following code to sign in: GoogleSignInOptions signInOptions = new…
vmayorow
  • 630
  • 5
  • 15
6
votes
1 answer

No refresh token when using Passport and passport-azure-ad

I'm attempting to use Passport to connect to Office365. I up getting the auth prompt and the access token is returned. The issue is that the refresh token is undefined. My Setup // In app.js const creds = { redirectUrl:…
Jack Slingerland
  • 2,651
  • 5
  • 34
  • 56