facebook-oauth

What should be authentication strategy between client and server when only social providers login authentication is used?

╄→尐↘猪︶ㄣ 提交于 2020-01-16 19:37:11
问题 Given the following conditions: A website only uses social providers in order to authenticate users (Google/Facebook). There's no native authentication. Only some sections (e.g. product reviews) are restricted. The website communicates with the server (same domain). What would be the best authentication strategy? - Only use social providers In this case: We need to research the refresh/revoke token mechanism per each provider and implement it. - Use social providers in order to verify the

FB.getLoginStatus does not fires callback function

谁说我不能喝 提交于 2020-01-12 07:07:28
问题 I have a difficult problem. Difficult means I searched through the net and StackOverflow as well the whole FBJS SDK documentation and haven't find answer. I am building a Page Tab application where I'd like to let fans to rsvp events. So I have to check if the user is logged in and if it doesn't I have to login. That sounds pretty easy, but FB.getLoginStatus doesn't fires callback function. This is the code excerpt: FB.init({ appId: window.appID, status: true, xfbml: true, cookie: true, oauth

Universal Analytics and signup with Facebook

我是研究僧i 提交于 2020-01-11 22:56:23
问题 I have a website (theneeds.com) that allows signup via Facebook. We're running several campaigns, e.g. on Facebook itself, and we'd like to properly track signups from the different campaigns. The problem is with Universal Analytics: when a user signs up with Facebook, she triggers a new session thus loosing the campaign reference. Two possible solutions are: remove the analytics tracking on the signup form (i.e. the page that causes the new session to start) add facebook.com to the referral

Universal Analytics and signup with Facebook

本小妞迷上赌 提交于 2020-01-11 22:55:05
问题 I have a website (theneeds.com) that allows signup via Facebook. We're running several campaigns, e.g. on Facebook itself, and we'd like to properly track signups from the different campaigns. The problem is with Universal Analytics: when a user signs up with Facebook, she triggers a new session thus loosing the campaign reference. Two possible solutions are: remove the analytics tracking on the signup form (i.e. the page that causes the new session to start) add facebook.com to the referral

Universal Analytics and signup with Facebook

两盒软妹~` 提交于 2020-01-11 22:54:11
问题 I have a website (theneeds.com) that allows signup via Facebook. We're running several campaigns, e.g. on Facebook itself, and we'd like to properly track signups from the different campaigns. The problem is with Universal Analytics: when a user signs up with Facebook, she triggers a new session thus loosing the campaign reference. Two possible solutions are: remove the analytics tracking on the signup form (i.e. the page that causes the new session to start) add facebook.com to the referral

Google Cloud Endpoints with another oAuth2 provider

◇◆丶佛笑我妖孽 提交于 2020-01-09 09:00:26
问题 Is there a way to use another OAuth2 provider with Google Cloud Endpoints? I mean for example, get authentication from Facebook and use it the same way we use Google Account Auth (using gapi js and putting User class on @ApiMethod ) 回答1: No. I came across someone else asking this question and the answer from the google folks (if I remember correctly) was that the endpoints user authentication currently only supports Google accounts. 回答2: You have to implement your own Authenticator and update

Facebook PHP SDK - Post to user's wall as app and not user. How?

℡╲_俬逩灬. 提交于 2020-01-03 04:53:07
问题 I have a few questions about Facebook PHP SDK I haven't found the answers to yet, hope someone here can help. I have made a page where users connect to Facebook to be able to share things via my site on their wall. I don't want to use the offline_permission. But I need to be able to delay post, cause sometimes we need to confirm choices they use. I read that YOU CAN post at any time with stream_publish, but you need to post as THE APP and not THE USER. Right now I think I post as the user.

Facebook oauth authorize URL and parameter options

我们两清 提交于 2020-01-02 02:02:08
问题 Facebook provides some documentation on the parameters of oauth login. Login Dialog OAuth 2 Parameters are: client_id = Your App ID redirect_uri = Your App Website URL display = page, popup, iframe, async, touch. How to display login. scope = permission names. Permissions your app is asking the user to grant to your app. state = a string included in the response back to your app. response_type = code or token or both. Used in different ways depending on authorization flow. Is there more

Using OAuth for both development and production environments

随声附和 提交于 2020-01-01 04:56:06
问题 I have seen other questions on SO about this (here, here, and here), but I am not satisfied with any of the solutions, so I am asking it again. I am starting a web application that will utilize OAuth from multiple providers (Google, Facebook, Twitter, Yahoo) for authentication. I am struggling to find a configuration suitable to use for both a local development environment and a production environment. The leading solutions I've found are to register multiple apps within each provider,

How get Facebook token using Oauth2 with chrome.identity

柔情痞子 提交于 2019-12-30 02:32:44
问题 I'm using chrome.identity in a packaged app to get a user token using Facebook. I call chrome.identity.launchWebAuthFlow, and I need to take the access token, send it to the server, and then access token is used to verify the user. Works great with Google+. But for some reason, it doesn't work for Facebook. For some reason, Facebook's OAuth appears to be special. I've added the extensionid.chromiumapp.org to the list of redirect URLs in the API. Added "https://extensionid.chromiumapp.org/*",