oauth

Twitter OAuth Request Token returning Unauthorized

时光总嘲笑我的痴心妄想 提交于 2020-01-04 01:56:17
问题 I'm trying to get a request token from Twitter OAuth, but I keep getting 401 Unauthorized , but I have no idea why. I have tried to follow the signature creation as good as I can and was struggling with 400 Bad Request for a while but finally cracked the code to get a valid request only to be met by the 401. I feel like I'm missing something really simple but I just can't find out what. Here's the code I'm using: using (HttpClient client = new HttpClient()) { client.BaseAddress = new Uri(

Yahoo Authorization OAUTH:oauth_problem=“timestamp_refused”

那年仲夏 提交于 2020-01-03 16:55:09
问题 I have been following Yahoo OAUTH guide closely and successfully established a connection and was able to retrieve the access token along with other objects which i get in response URI.But, now when i try to fetch the Contacts of the authenticated user i always get this Error no matter what NTP server i choose for my computers clock: Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth oauth_problem="timestamp_refused", realm="yahooapis.com"}

Authentication issue in mendeley Python SDK

余生颓废 提交于 2020-01-03 14:19:36
问题 I was reading Mendeley docs from here. I am trying to get data in my console for which I am using the following code from the tutorial from mendeley import Mendeley # These values should match the ones supplied when registering your application. mendeley = Mendeley(client_id, redirect_uri=redirect_uri) auth = mendeley.start_implicit_grant_flow() # The user needs to visit this URL, and log in to Mendeley. login_url = auth.get_login_url() # After logging in, the user will be redirected to a URL

Soundcloud (Oauth2) API getting access token fails

心已入冬 提交于 2020-01-03 12:31:13
问题 I'm trying to authorize users on my site based on a Soundcloud login. It uses Oauth authentication. The user has to click a button on my site and is redirected to the Soundcloud site, where it logs in. After that the user get redirected back to my site where I have to get an accessToken. This fails with message: The requested URL responded with HTTP code 0. I've dumped the curl stuff if you need it: [data]; False [info][url] : https://api.soundcloud.com/oauth2/token [content_type] ; NULL

Redis Token Store

余生长醉 提交于 2020-01-03 09:25:06
问题 I want to deploy my REST API on a clustered environment. For that, I need to store my OAuth 2.0 tokens in a shared Token store. Currently I'm using Spring Security's InMemoryTokenStore, which can't be shared on multi node cluster. I'm planning to store tokens using Redis. I found that the latest release of Spring-Security OAuth i.e. 2.8.0 provides RedisTokenStore also. I've some doubts regarding this: What changes are required for using RedisTokenStore in the existing spring-security xml

OAuth - Consumer secret in open-source applications

故事扮演 提交于 2020-01-03 08:35:31
问题 I'm creating a Wordpress plugin for collectively managing a Twitter account. I want to allow the user to add accounts via the Admin panel similar to the way twitterfeed.com does. However, the only way I can see of doing it is to get the user to sign in to their account, register the application under a unique name and paste in the Consumer Key and Consumer Secret to my application. What are the security repercussions of simply distributing a single Consumer Key and Consumer Secret with my

OAuth - Consumer secret in open-source applications

瘦欲@ 提交于 2020-01-03 08:35:10
问题 I'm creating a Wordpress plugin for collectively managing a Twitter account. I want to allow the user to add accounts via the Admin panel similar to the way twitterfeed.com does. However, the only way I can see of doing it is to get the user to sign in to their account, register the application under a unique name and paste in the Consumer Key and Consumer Secret to my application. What are the security repercussions of simply distributing a single Consumer Key and Consumer Secret with my

Linkedin API Error Invalid Signature in iPhone Starter Kit

↘锁芯ラ 提交于 2020-01-03 06:41:07
问题 I've tried to run the OAuthStarterKit xcode project out of the box, entered the correct api key/secret and oauth user token/secret. When I get to authorizing with this code: OAMutableURLRequest *request = [[[OAMutableURLRequest alloc] initWithURL:requestTokenURL consumer: self.consumer token: self.requestToken callback:linkedInCallbackURL signatureProvider:sha] autorelease]; It returns the error "signature_invalid", which seems to indicate an incorrect signature. the clear text and secret

temporarily_unavailable on linkedin servers

北慕城南 提交于 2020-01-03 05:47:14
问题 I am new to work with linkedin programming and try to get some user data, however I can't get further than https://www.linkedin.com/uas/oauth2/accessToken where I get this response the whole time: {"error":"temporarily_unavailable","error_description":"the authorization server is currently unable to handle the request : RestException{_response=RestResponse[headers={X-LinkedIn-Error-Response=true, Content-Length=6936, X-Restli-Protocol-Version=1.0.0, Server=Jetty(8.1.8.v20121106)},status=404

Implementing OAuth for SurveyMonkey, Step 2

主宰稳场 提交于 2020-01-03 05:36:07
问题 I currently have a SurveyMonkey developer Draft App set up and am implementing OAuth as described by their documentation. I have completed Step 1 (Direct user to SurveyMonkey’s OAuth authorization page) but once the user enters their username and password to authorize SurveyMonkey access, as specified in Step 2 of the link above, how do I gain access to the short-lived code included as a query parameter? In essence, once we have left the website I'm building, how do I gain access to URL