apoji187
apoji187

Reputation: 214

Facebook API integration into CMS - Questions regarding App Domains, Redirect URLs

I'm at the planning stages of adding some functionality to a CMS. Kind of new to the Graph API, so excuse any blatant ignorance.

At any given time, there are more than 1000 sites/domains that use the system. The plan is to create a single app, with an APP ID, and secret - and then have the users authenticate themselves.

What I'm having trouble grasping is the required entries for app domains, and OAuth redirect URIs on the app dashboard. Since many domains will be using the app, how is that handled? I found a somewhat related post here: Facebook API key for an open source CMS

Someone suggested the creation of a loopback server to handle the requests. So would be the best method to create a separate domain on the system, and funnel everything through that..something like facebook.mysite.com ?

Upvotes: 0

Views: 173

Answers (1)

Sean Kinsey
Sean Kinsey

Reputation: 38046

Yes, in your case, you'll either want to use a shared endpoint (with increased security) which provides some method for 'sibling' domains to share state, or you'll want to use separate apps per domain.

Given that the user will be asked to provide information to a named app, using separate apps, with more contextual names than 'CMS SSO Provider' might be the right move.

Upvotes: 2

Related Questions