oauth

Tumblr OAuth image post gives me 401/“Invalid OAuth credentials”

隐身守侯 提交于 2019-12-31 02:45:20
问题 I've got an iOS app thats posts images to several services, including twitter and I'm trying to extend that support to tumblr. I've adapted some open source code for the OAuth 1.0a header logic and its working well enough to be successful for twitter + twitpic and for tumblr's authentication. However image posts to tumblr are failing with status 401 and string response "Invalid OAuth credentials" To simplify, my only multipart sections are the post type and the image data. So my simple POST

Your credentials do not allow access to this resource Twitter API Error

邮差的信 提交于 2019-12-30 18:55:10
问题 I'm working on twitter api's, some of api's getting response. But statuses/home_timeline.json api and other api's not getting response. Getting error : {"errors":[{"code":220,"message":"Your credentials do not allow access to this resource."}]} I'm getting access token successfully and using that access token for statuses/home_timeline.json and some other api's. But these are getting above error. Already i logged in with my account. I found so many urls and i'm not getting answer from those

Your credentials do not allow access to this resource Twitter API Error

大憨熊 提交于 2019-12-30 18:55:07
问题 I'm working on twitter api's, some of api's getting response. But statuses/home_timeline.json api and other api's not getting response. Getting error : {"errors":[{"code":220,"message":"Your credentials do not allow access to this resource."}]} I'm getting access token successfully and using that access token for statuses/home_timeline.json and some other api's. But these are getting above error. Already i logged in with my account. I found so many urls and i'm not getting answer from those

Manually build a login flow for Facebook on Android

天涯浪子 提交于 2019-12-30 14:46:08
问题 I'm working on a project where I need to implement signing in using Facebook authorization on android. I've implemented Facebook API but it provides access token, when I need code (which is used to get token). I found advises saying that I can't use/modify FB api to just get code, instead I have to program my own login flow. I know there is basic documentation on fb developer page but it doesn't say anything about implementing this function on android. Any help would be much appreciated. 回答1:

Authenticate to Dynamics 365 using ADAL v3 using ClientID

六眼飞鱼酱① 提交于 2019-12-30 11:12:38
问题 I'm trying to authenticate to our online Dynamics CRM to use the available APIs. The only official documentation on doing this I can find is: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/connect-customer-engagement-web-services-using-oauth this however uses 'AquireToken' which no longer exists in ADAL V3, with it having been replaced with 'AcquireTokenAsync'. This is my first time dealing with ADAL and trying to authenticate, previously only having dealt with

Simple Twitter Oauth authorization asking for credentials every time

半城伤御伤魂 提交于 2019-12-30 11:09:17
问题 I am making a simple twitter based login/signup system using the tutorial here. I get the oauth_token as well as oauth token secret every time I get the user to login. However, even when the user is already logged in, he is being asked to login again. I just wanted to know how do I check if the user is already logged in? Do I need to store the oauth_token and oauth token secret in session? If I do store these in a session, how do i authenticate if they are valid? The library used has

Using Google API Java Client on Android, a POST request does not seem to authenticate with Google App Engine app using OAuth

和自甴很熟 提交于 2019-12-30 10:35:23
问题 I have an Android client that needs to authenticate with a python Google App Engine app using OAuth. I followed this article. And was able to successfully do so using an HTTP Get Request. The Android client uses the package com.google.api.client to accomplish this: OAuthHmacSigner _signer; HttpTransport TRANSPORT = new NetHttpTransport(); _signer = new OAuthHmacSigner(); _signer.clientSharedSecret = CONSUMER_SECRET; // STEP1: get a request token OAuthGetTemporaryToken requestToken = new

Facebook OAuthException: (#1)

不打扰是莪最后的温柔 提交于 2019-12-30 10:13:15
问题 I have a few applications which upload image to user profile. A few hours ago all applications were working fine but now when uploading is requested, it gives this error Fatal error: Uncaught OAuthException: (#1) An unknown error occurred thrown in applications/fb-sdk/facebook.php on line 543 I'm using the following code to publish image. $FILE = "images/$image"; $args = array('message' => 'My msg '); $args['image'] = '@' . realpath($FILE); $data = $facebook->api('/'.$uid.'/photos', 'post',

Box.api oauth2 acces token request error “Invalid grant_type parameter or parameter missing” when using POSTMAN

雨燕双飞 提交于 2019-12-30 07:29:09
问题 The documentation (http://developers.box.com/oauth/) suggests using POSTMAN or curl. in this example, the clientID is 123, secret code is 456 and so on. I am using Postman. In a prior step, I have obtained an access code via: https://www.box.com/api/oauth2/authorize?response_type=code&client_id=123 let's say the response is xyz In the next step, I use POSTMAN to issue a POST command (urlencoded) https://www.box.com/api/oauth2/token?grant_type=authorization_code&client_id=123&client_secret=456

how to redirect to original page after successful authentication using passport-google-oauth

元气小坏坏 提交于 2019-12-30 07:09:22
问题 I am using node passport-google-oauth module and trying to redirect the page back to the original path after successful authentication using a session based approached suggested in Custom returnUrl on Node.js Passport's Google strategy. However, I find inside my callback, the redirect info stored in session was always wiped out so I was forced to redirect to a default ('/' in this case). Here is the logging output from my code snippet. It seems when it's inside the callback, the returnTo got