Topic-icon Facebook "Valid OAuth redirect URIs" missing in app settings?

Active Subscriptions:

None
Hi,

Was just setting up a new app for FB login on a new personal site and I don't see anywhere to follow this instruction:

Documentation wrote: Click "Settings" and the "Advanced" tab. Fill out the "Valid OAuth redirect URIs" setting with the following URLs (replacing yourdomain.com with your actual domain name). If you have https enabled on your site, or other ways to access your domain (like www or non-www), add them all here, like below. Once done, click "Save Changes"
yourdomain.com/index.php?option=com_jfbc...ck&provider=facebook
www.yourdomain.com/index.php?option=com_...ck&provider=facebook
yourdomain.com/index.php?option=com_jfbc...ck&provider=facebook
www.yourdomain.com/index.php?option=com_...ck&provider=facebook


Looking over my existing (and working) apps, I don't see it either, although back in the day I DID fill that out. Has something changed? Am I missing something?
The topic has been locked.
Support Specialist
Facebook changes their developer area pretty frequently. It's possible you're seeing a new version that we aren't able to see yet (it hasn't rolled out to our accounts).

With that said, for me, if I
* Go to Settings
* Click the "Advanced" tab
* I see multiple sections - App Restrictions, Security, Client OAuth Settings
* The "Valid OAuth redirect URIs" setting is in the "Client OAuth Settings" section

Check again and see if you see what I do.. if not, let us know and we'll see if we can do some digging about any updates Facebook may be implementing.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Oh boy, it does look like things are different now. Check the screenshot:

File Attachment:


I had to click on "Facebook Login" under "Product Settings". There is a warning "Client OAuth login is enabled but you haven't listed any valid OAuth redirect URIs. Click here for more information." This is the click here link: developers.facebook.com/docs/facebook-login/security/

I am not sure if this is now a global field, where I will have to re-paste ALL my URIs of my apps, or if it's on an app-by-app basis (the app ID appears at the top of the page). I don't want to mess things up, is there any way you could look in to this possible change?

I wonder if my old apps are still working. If anyone out there feels like trying, here are a couple sites to try registering for:

www.coinvalues.com/secure-login
miraargentina.com/iniciar-sesion
laverdad.uno/registrar-una-cuenta
The topic has been locked.
Active Subscriptions:

None
OK, so was messing around and it seems this is on an app-by-app basis. For my new app, there was no OAuth field because Login was not enabled for the app. I had to click on +Add Product and select Facebook Login. Then the OAuth field appeared, and I pasted in the URI.

Then with the drop-down I toggled to my old apps and the OAuth field is still empty.

Guess I will go ahead and re-paste those URIs in there. I hope my apps are still working, though!
The topic has been locked.
Support Specialist

I am not sure if this is now a global field, where I will have to re-paste ALL my URIs of my apps, or if it's on an app-by-app basis (the app ID appears at the top of the page). I don't want to mess things up, is there any way you could look in to this possible change?

Facebook doesn't have any global settings across apps. You'd need to change that setting in all apps. Apps are usually different for various websites so, usually, that setting would be different on each app anyways.

For my new app, there was no OAuth field because Login was not enabled for the app. I had to click on +Add Product and select Facebook Login. Then the OAuth field appeared, and I pasted in the URI.

Glad to hear you got things going. If you're creating a new app to replace an old app, though, that could cause some issues. Generally, you shouldn't ever change the app on your site. The user ID that is returned from Facebook for a user is different for each app, so if you change app IDs, the user IDs for all your users will change as well.. which will greatly confuse JFBConnect.

I hope that helps explain. Once the new App interface rolls out to one of our apps, we'll update our documentation... again :)

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex. Yes, it seems it's just the interface has changed, and that extra step of adding Facebook login when creating an app. Although all my app OAuth fields are blank, evidently FB has retained my URIs since the apps are still working.

So confusing, they must drive you nuts, having to re-write the docs and take new screenshots every three months LOL!
The topic has been locked.
Support Specialist
7 years 11 months ago #58016 by mel
I'll be working on documentation in the coming week for this latest release, so I've added this change to the list too. Thanks for letting us know :)

-Melissa
The topic has been locked.