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
2 answers

Invalid signature. Expected signature base string, JAVA

We are using this piece of code to send request on aweber via oAuth long unixTime = System.currentTimeMillis() / 1000L; OAuthRequest request1 = new OAuthRequest(Verb.GET,"https://api.aweber.com/1.0/accounts/1111/lists/1111/subscribers",…
Renu Thakur
  • 551
  • 11
  • 35
6
votes
0 answers

Multiple resource server oauth2 clients? Spring OAuth2 SSO

Good day, I have setup a working example implementing SSO & the API Gateway pattern (similar to what is described here…
6
votes
1 answer

twitter request_token endpoint always returns "couldn't authenticate you"

I am writing a simple twitter login and trying to get request Token in order to redirect user to access token but i always end up with couldn't authenticate you error i tried to add signature as last header it did not work too. when i remove some…
nikoss
  • 3,254
  • 2
  • 26
  • 40
6
votes
2 answers

Jquery Ajax not sending headers

I've read countless answers regarding similar questions, but cannot solve my specific issue. I have a web API that makes a request to RESTful service using a oauth token. This is cross domain. I know my cors is setup correctly as I can make requests…
Bob
  • 3,074
  • 11
  • 43
  • 62
6
votes
1 answer

Does the "Bearer" Authorization header have any special meaning?

Is there a difference between using a "Bearer" Authorization header and using a custom header? For example, the "Basic" Authorization header is different from a custom header because browsers treat "Basic" Authorization headers as a special case…
Leo Jiang
  • 24,497
  • 49
  • 154
  • 284
6
votes
1 answer

Spring Cloud Zuul + OAuth Error CORS

I'm using Spring Boot Cloud + OAuth2 Auth system, but I'm having a problem in the auth method. When I try to authenticate with my server the Zuul gateway is not sending the headers params, but if I try to authenticate directly to my oauth server I…
Tiarê Balbi
  • 1,480
  • 1
  • 23
  • 32
6
votes
3 answers

OAuth 2.0 for Server to Server Applications using Python 3.4, cannot import name 'SERVICE_ACCOUNT'

I'm trying to implement 'Server to Server' OAuth authentication in my Python 3.4 application to work with Google Cloud Storage. So, in general it is described on this page Using OAuth 2.0 for Server to Server Applications But there's an error while…
6
votes
1 answer

OAuth implementation for Qt test application

I am learning OAuth to implement in my Qt application.I used this step by step documentation to have test app for twitter authentication.Here is the following code:- ox1 = new OXTwitter(this); ox1->setClientId("client-id");//Id got from…
anbu selvan
  • 725
  • 3
  • 13
  • 41
6
votes
5 answers

Maven release / Github OAuth token / Jenkins: could not read Username for 'https://github.com': No such device or address

From Jenkins I'm trying to do a maven release, with the code being hosted on github, on a repo. For the build user I generated an OAuth token to access the repo in RW mode. In Jenkins I configured the repository checkout url like…
marcaurele
  • 502
  • 1
  • 6
  • 14
6
votes
1 answer

Twitter OAuth - Storing Tokens in MySql

Im using the Twitter OAuth class to connect to Twitter found here: Currently the script just uses the tokens supplied but doesnt store them in a database, i'd like the script to do this. This is what I currently have in my callback…
CLiown
  • 13,665
  • 48
  • 124
  • 205
6
votes
1 answer

Spring OAuth/JWT get extra information from access token

I made a simple application that use spring security with oauth/jwt provider. I added extra information in jwt token by custom JwtAccessTokenConverter and it works well. My issue is how gets these extra informations in my Rest Controller. This is my…
6
votes
3 answers

403 Response From Adobe Experience Manager OAuth 2 Token Endpoint

I am using Postman to test OAuth 2 from a vanilla AEM install. Postman can successfully obtain the authorization code from /oauth/authorize after I grant access: But when it tries to use the code to obtain a token from /oauth/token it receives…
GerardBeckerleg
  • 881
  • 1
  • 8
  • 14
6
votes
2 answers

How to get page access token Facebook graph api via calling the get request, java

I am trying to get a page access token of a facebook page using its graph api for posting anything in that page. From https://developers.facebook.com/tools/explorer I can get the page access token and then I can post on the page using it. I go…
6
votes
3 answers

Disable or restrict /o/applications (django rest framework, oauth2)

I am currently writing a REST API using Django rest framework, and oauth2 for authentication (using django-oauth-toolkit). I'm very happy with both of them, making exactly what I want. However, I have one concern. I'm passing my app to production,…
termux
  • 331
  • 3
  • 14
6
votes
2 answers

Mock OAuth server for testing

I'd like to know if it is possible to simulate the oAuth(1,2) authentication flow. I'd like to test without the need to connect to the provider itself. It should be possible as it is just some communication exchange. I'm not looking for something…
Zveratko
  • 2,663
  • 6
  • 35
  • 64
1 2 3
99
100