oauth

Open chrome.identity.launchWebAuthFlow as a tab (Chrome Extensions)

别等时光非礼了梦想. 提交于 2019-12-24 01:45:15
问题 I am using chrome.identity.launchWebAuthFlow() to direct a user through OAuth2 of a non-Google API when they use my extension. Even though authentication works and I can effectively get the user's authentication token, I dislike that it opens up entirely in a new window that lacks the browser's UIs and a URL bar. Ideally, I would be able to conduct this OAuth dance within the extension's popup window. If that doesn't work, being able to at least have this OAuth event take place in a separate

LinkedIn OAuth token with Javascript SDK

人盡茶涼 提交于 2019-12-24 01:18:25
问题 I was integrating LinkedIn sign-in with my web application, Initially I was doing the implementation using JS SDK. After I realised that for iOS Mobile Devices, LinkedIn does not support JS SDK. So Currently I am using OAuth implementation. My question is, Is there any way to use JS SDK after getting OAuth login success and after getting the access token . My point is, I don't want to do the logic for token validation, expiration etc . PS - Similar feature I have found in Facebook SDK, they

Is OAuth more secure than Basic Auth for server to server communication

一世执手 提交于 2019-12-24 01:15:58
问题 Is OAuth more secure than Basic Auth through HTTPS for server to server dialog? I mean, if I want to do some API request from server A to server B with OAuth, I have to store some auth data (key, secret, etc.) on server A. Then using these auth data, I can have a token and make requests with this token to server B. And using the same auth data later, I will have a token key and will be able to make request with this fresh token. With Basic Auth, I have some auth data (user, password) on

No accesstoken in populated User (Claimsprincipal)

↘锁芯ラ 提交于 2019-12-24 01:06:31
问题 We're using IdentityServer4 for our IdentityServer and IdentityServer3 for the client (ASP.NET MVC 5). Everything works (the User/Claimsprincipal is set correctly through OWIN) except I cannot get the access token from the User. We're using a implicit client which has access to these scopes: openid, profile, testapi Startup.cs: app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions { Authority = identityServerUrl, RequiredScopes = new[] { "testapi" }

No accesstoken in populated User (Claimsprincipal)

纵然是瞬间 提交于 2019-12-24 01:02:55
问题 We're using IdentityServer4 for our IdentityServer and IdentityServer3 for the client (ASP.NET MVC 5). Everything works (the User/Claimsprincipal is set correctly through OWIN) except I cannot get the access token from the User. We're using a implicit client which has access to these scopes: openid, profile, testapi Startup.cs: app.UseIdentityServerBearerTokenAuthentication(new IdentityServerBearerTokenAuthenticationOptions { Authority = identityServerUrl, RequiredScopes = new[] { "testapi" }

oAuth in PHP to make 2 legged request

一个人想着一个人 提交于 2019-12-24 00:53:54
问题 I am currently stuck trying to make requests to a service's api using a 2 legged oAuth request using PHP. I am using the PHP library found here: http://code.google.com/p/oauth-php/ and there seems to be absolutely no documentation anywhere online for using this library for a 2 legged request. So currently from the service I have the following details: $consumer_key - needs to be an empty string $consumer_secret - needs to be an empty string $access_token - my login name $access_token_secret -

Twitter - Could not authenticate with OAuth (401) Error

妖精的绣舞 提交于 2019-12-24 00:47:19
问题 So, I'm doing a simple twitter app in Delphi and because I can't find a library already that works I decided to create my own. With the authenticate process I follow everything and get the Access token and secret token just fine. When I try to use them (in the following code) I get the error {"error":"Could not authenticate with OAuth."} This is true for both read and write requests (verify and posting). Any help would be greatly appreciated as I have been bashing my head against the wall

PHP Twitter OAuth

陌路散爱 提交于 2019-12-24 00:44:28
问题 I'm trying to make the registration and authorization of users on your site through twitter oauth. And I have problem. I am using http://github.com/abraham/twitteroauth PHP. In this code, the authorization pass by adding the token to the session. But how can I make sure that data is added to the cookie? How to make sure that the user is logged on to my site using a tweeter (for half a year in the cookie). And how can I check whether the user entered the site at all? I hope I explained this

Coldfusion, The oauth_signature is invalid

本秂侑毒 提交于 2019-12-24 00:42:21
问题 I'm trying to obtain credentials from ning network using Coldfusion 9, so first this is the curl syntax to test the api : curl -k https://external.ningapis.com/xn/rest/mbdevsite/1.0/Token?xn_pretty=true -u devshare@megabase.tn:mbdev2011 -d "oauth_signature_method=PLAINTEXT& oauth_consumer_key=741ab68b-63fb-4949-891c-9e88f5143034&oauth_signature=36da2ea8 -10fb-48cc-aaa4-c17c551c6b87%26" and it returns : { "success" : true, "entry" : { "author" : "1o0butfek0b3p", "oauthConsumerKey" : "741ab68b

How to do 0-legged OAuth in Windows Phone 8.1

≡放荡痞女 提交于 2019-12-24 00:37:19
问题 I'm porting an app from Android to Windows Phone 8.1. I need to fetch some data that needs an OAUTh authentication. I did some research and I think i need a 0-legged OAuth authentication, because i only have a key & secret and the url to get the data. In the Android project the code is like this (JAVA): public JSONObject fetchData() { try { OAuthConsumer consumer = new DefaultOAuthConsumer(this.context.getString(R.string.consumer_key), this.context.getString(R.string.consumer_secret)); URL