Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook OAuth Settings #2867

Closed
4 tasks done
SidharthBansal opened this issue Jun 20, 2018 · 33 comments
Closed
4 tasks done

Facebook OAuth Settings #2867

SidharthBansal opened this issue Jun 20, 2018 · 33 comments

Comments

@SidharthBansal
Copy link
Member

SidharthBansal commented Jun 20, 2018

These are the Facebook OAuth settings for future reference.
Part of #2676
Facebook oauth settings
The Facebook settings need to be as follows
image
image
image
image
image
We need to verify that the following will work properly for all users:

@SidharthBansal
Copy link
Member Author

OAUTH2 Error is produced if we have any old gem out of following

  • gem omniauth
  • gem facebook-omniauth

@SidharthBansal
Copy link
Member Author

Facebook works only on 3001(https) in development

@jywarren
Copy link
Member

jywarren commented Jul 1, 2018

Hi, where is the link to start this process on facebook.com? I'd like to do this today or tomorrow in preparation. Thanks!

@SidharthBansal
Copy link
Member Author

developers.facebook.com should work

@SidharthBansal
Copy link
Member Author

@jywarren please merge the #2959 and #2960 before setting up app for facebook.
On my localhost it is working absolutely fine. I hope it will work well in production too.

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

This is now set up!

@SidharthBansal
Copy link
Member Author

Have you pushed it to stable and production?

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018 via email

@SidharthBansal
Copy link
Member Author

Have you set it up for unstable?

@SidharthBansal
Copy link
Member Author

I have pushed the changes to unstable

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018 via email

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

hmm...

Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

but stable.publiclab.org is actually included...?

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

weird

@SidharthBansal
Copy link
Member Author

It means that you need to add domains and subdomains somewhere in the app.

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

But I did that... maybe i'm missing something?

image

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

I set namespace to publiclab - is that wrong?

@SidharthBansal
Copy link
Member Author

I think it is right

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

Hmm, what else should we try?

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

It's late there! Let's think about this tomorrow!

@SidharthBansal
Copy link
Member Author

Yeah sure. Sleeping now.

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

Hey, figured it out!

screen shot 2018-07-03 at 6 43 37 pm

It was the callback that had to be set!

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

It works now! https://publiclab.org/auth/facebook/

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018

Just as you'd shown above. I missed that somehow! Too tired out!

@SidharthBansal
Copy link
Member Author

Btw I was not able to sleep. I was searching the net.

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jul 3, 2018

It is working fine in production

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018 via email

@SidharthBansal
Copy link
Member Author

Now we are completed with this.
Thanks a lot @jywarren for bearing with me for so many app and so many providers.
Thanks a ton.
Now we are completed with the Oauth project. I guess. Do we need any other provider?

@SidharthBansal
Copy link
Member Author

I mean the backend stuff.

@SidharthBansal
Copy link
Member Author

Can we create first timer issues for the font-awesome icons? OR shall I complete them?

@jywarren
Copy link
Member

jywarren commented Jul 3, 2018 via email

@SidharthBansal
Copy link
Member Author

We could brainstorm also what other things we can do with these integrations now. Better integrated Post to Twitter or Post to FB buttons maybe?

We can create an issue and discuss this there.

And yeah, I think the icons would make nice FTOs!

Sure.

@SidharthBansal
Copy link
Member Author

This issue is completed

@SidharthBansal SidharthBansal added this to the OAuth Login milestone Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants