oauth

Mobile OAuth UI failing to load in WP7

ぐ巨炮叔叔 提交于 2019-12-24 06:37:14
问题 I have a WP7 app that is connecting to my GAE backend via oauth. (Its probably not relevant that this is GAE, but I'm throwing that fact in anyway.) I use the "btmpl=mobile" parameter to force a mobile UI in the Google auth pages, but I keep getting the non-mobile version which is really hard to decipher in a mobile browser. I extracted the Auth URI which looks something like: http://www.myapp.com/_ah/OAuthAuthorizeToken?btmpl=mobile&oauth_token=randomlongstring When I put that URL into

Ruby Oauth Gem HMAC-SHA1 401 Invalid Signature

孤者浪人 提交于 2019-12-24 06:06:03
问题 I'm using rest-client with oauth, the oauth headers are getting generated, but the hmac-sha1 signature is invalid. The server doesn't accept signature encoding, returns 401 oauth_problem signature_invalid. oauth_signature="9aOk2oM2%2FczpqHBJ95MhcF%2Bp6XU%3D", oauth_signature_method="HMAC-SHA1" Running in Postman with "Encode OAuth signature" un-selected works fine. Postman gives same 401 invalid signature when this option is turned on. Is this encoding the problem, is there a similar option

Google latitude returns empty location resource. Anything wrong in this Oauth flow?

好久不见. 提交于 2019-12-24 05:21:49
问题 using examples I have this code. It works fine, authorizes the proper scopes and everything: <?php ini_set("display_errors",1); error_reporting(E_ALL); session_start(); set_include_path('/home/library/'.get_include_path()); require_once 'Zend/Oauth/Consumer.php'; $oauthOptions = array( 'requestScheme' => Zend_Oauth::REQUEST_SCHEME_HEADER, 'version' => '1.0', 'consumerKey' => 'ivana.2x.to', 'consumerSecret' => '*********', 'signatureMethod' => 'HMAC-SHA1', 'requestTokenUrl' => 'https://www

Twitter Login for Android app

戏子无情 提交于 2019-12-24 05:19:08
问题 can any one tell me the proper steps to perform the Open Auth for twitter login from my Android app? and one more thing is it posible to perform the login authentication of the twitter account without gng to the Twitter Login Page from my APP? Idea is using the twitter account for loging in to my android APP (Authentication) ? i hav tried it but it is gng to the twitter webview for the authentication without typing the username and password in my app? so pls help me ! thanks in advance !! 回答1

Uber API: Specify multiple scopes while requesting or issuing a token returns Invalid Request Paramenters

烈酒焚心 提交于 2019-12-24 04:37:05
问题 I know that the OAuth 2.0 specs allows to specify multiple scopes while requesting or issuing a token, but Uber doesn't like the multiple scopes. For example: 1) [No error] parameters = { 'response_type': 'code', 'redirect_uri': 'INSERT_ROUTE_TO_STEP_TWO', 'scope': 'profile', } Returns correct token and I can retrieve the user profile via 'https://api.uber.com/v1/me' 2) [Error] parameters = { 'response_type': 'code', 'redirect_uri': 'INSERT_ROUTE_TO_STEP_TWO', 'scope': 'profile%20history', }

C# OAuth provider [closed]

空扰寡人 提交于 2019-12-24 03:04:33
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I am struggling with the understanding of the OAuthProvider Library. I am also struggling to understand the following oauth-dot-net I am trying to implement am OAuth provider in my custom RESTful webservice. I am

Can not obtain a request token twitter Rest API 1.1

∥☆過路亽.° 提交于 2019-12-24 02:41:39
问题 since a week I'm trying to manage "Login with twitter" functionality in my website. I can not complete even the first step: 'obtain a request token'. I recieve: "Failed to validate oauth signature and token" I'm doing everything like said here: https://dev.twitter.com/docs/auth/implementing-sign-twitter And creating a signature like here: https://dev.twitter.com/docs/auth/creating-signature My code: date_default_timezone_set('UTC'); $oauth_callback = 'http://mydomain.net'; // calls are made

sign in with wordpress

爷,独闯天下 提交于 2019-12-24 02:41:00
问题 Is there any WordPress login php script like this one? This script is for signing in with WordPress.com account. I have followed the documentation to write my script. But it did not provide me the access token when I print the access token. It shows it is null. This is my code to implement sign in with WordPress.com account: session_start(); $client_id = "2472"; $client_secret ="TaB3JPXeuJA8XsosdkMbZnuJoybxJaBF6WmDD11WFJg8QQme9fmye6l2Kxd45cpx"; $login_url = "https://public-api.wordpress.com

Oauth service for LDAP authentication

99封情书 提交于 2019-12-24 01:58:18
问题 We have a scenario where we have to authenticate the user with LDAP server Flow 1: client --> application server --> LDAP server In above flow the client enters LDAP credentials which comes to application server and then using python-ldap we can authenticate the user, straight forward. Since the user LDAP credentials comes to application server an organisation may not be willing for such flow for obvious reasons. Flow 2: client --> oauth2 --> LDAP server Oauth scenario suites best here, since

OAuth - Error on Twitter (could not authenticate)

半腔热情 提交于 2019-12-24 01:55:06
问题 I have written a class (so I could learn how OAuth works). It is working fine; I can retrieve the access token with the class. But when I try to post an update, it says that I'm not authenticated! What am I doing wrong here? // By Kevin Jacobs class OAuth { private $url = null; private $debug = false; private $method = 'POST'; private $oauthData = array(); private $data = array(); private $token = array('key' => '', 'secret' => ''); private $consumer = array('key' => '', 'secret' => ''); /**