oauth.io


when i use this code in local then it work fine but when i publish it on iis then it's authantication popup terminates

半城伤御伤魂 提交于 2020-01-25 06:59:10
问题 $.ajax({ url: '@Url.Action("LinkedINAuth", "Vacancy")', data: { vacancyIds: Array.toString() }, async: true, type: 'POST', cache: false, success: function(datas) { var html = datas.split(',')[0].toString(); var image = datas.split(',')[1].toString(); //txp2rKYpuKZXaaYC5kB-m13KnVE Initialize with your OAuth.io app public key OAuth.initialize('txp2rKYpuKZXaaYC5kB-m13KnVE'); // $('#auth').show(); OAuth.popup('linkedin2').then(linkedin => { console.log('linkedin:', linkedin); // Get your linkedin

Facebook API - different user ID's for each app?

若如初见. 提交于 2019-12-30 08:15:45
问题 I'm currently working on a mobile app, and as such I need to have a new app specifically for this purpose. The stupid thing it seems, is that Facebook have decided to use different "user ids" for each app. Apart from not seeing the point in this what-so-ever, I'm baffled as to how I can extract the same userId for a given user, to match it up with my DB. I'm using oauth.io to process the login, and return the values: $('#facebook-login').click(function() { $('#ajax_spinner_wrapper').show();

Getting “The parameter app_id is required” with OAuth.io

北城余情 提交于 2019-12-24 00:29:58
问题 I am trying to integrate https://oauth.io/ into my application. Below is the code for facebook integration that I am using: OAuth.popup('facebook') .done(function (result) { alert('sucess'); }) .fail(function (error) { alert('fail'); }); Note: I am calling the above part of code in a button click. In JQuery ready function I am calling OAuth.initialize("my_public_key"); When I click on the button I am getting "The parameter app_id is required" error in the popup. (added image of it) Can

OAuth.io server-side doesn't refresh Google token

倖福魔咒の 提交于 2019-12-13 07:21:37
问题 At first please do not mark this as duplicated as this is related to server-side (PHP) and not to client-side as other posts. I'm trying to refresh the token for Google API through Oauth.io. I followed this and many other posts but no luck. Unfortunately Oauth.io documentation is not the best one. I don't have this problem with Twitter and Facebook only Google. I'm getting refresh_token when I connect for the first time. Then I need to do API call once a day. { "access_token":"xxx", "token

Getting a refresh token from OAuth.io through REST API

本秂侑毒 提交于 2019-12-11 20:19:33
问题 I'm trying to get a refresh token for Google through Oauth.io but I'm having trouble finding the endpoint to send the code to. I'm using C# so I can't use the server-side SDK. I've also looked at Getting refresh tokens from Google with OAuth.io but that answer doesn't help me get the actual refresh token. I've looked at their server-side flow documentation which tells me I can get my refresh token at /auth/access_token but when looking at the web API documentation I don't see that endpoint

Facebook API - different user ID's for each app?

我们两清 提交于 2019-12-05 05:08:07
I'm currently working on a mobile app, and as such I need to have a new app specifically for this purpose. The stupid thing it seems, is that Facebook have decided to use different "user ids" for each app. Apart from not seeing the point in this what-so-ever, I'm baffled as to how I can extract the same userId for a given user, to match it up with my DB. I'm using oauth.io to process the login, and return the values: $('#facebook-login').click(function() { $('#ajax_spinner_wrapper').show(); OAuth.initialize('CmRGYdnRMWM2ZrOb7M1Nf1_T57o'); OAuth.popup('facebook').done(function(result) { /

Getting refresh tokens from Google with OAuth.io

寵の児 提交于 2019-11-27 22:32:59
问题 I am trying to get access tokens from OAuth.io for any Google based provider however whenever I authenticate I get an access_token but no refresh_token. I have chosen offline for the access_type but still no joy. I have tried looking through the documentation for a solution but it barely covers anything related to the refresh token. 回答1: To get the refresh token from Google, you need 2 things: The offline option cf https://developers.google.com/accounts/docs/OAuth2WebServer "A token that may

工具导航Map