Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook login with Firebase. Can't find OAuth redirect URI

I am following the manual provided by Firebase. However, there is an early step I cannot seem to do. The manual tells me to

enter image description here

Where can I find this setting on Facebook?

enter image description here

From other manual it should be just below client token, but it isnt. I highly appreciate any help on this issue.

like image 797
masb Avatar asked May 26 '16 20:05

masb


People also ask

How do I add this OAuth redirect URI to my Facebook app configuration?

Selecting the app, will take you to the settings for that app. In your app settings on https://developers.facebook.com/sa/apps/<my-app-id> , make sure that you add the Facebook Login product. Then under "Client OAuth Settings" enter the URL in the "Valid OAuth redirect URIs" box.

What is valid OAuth redirect URIs Facebook?

A valid redirect URI is the URI within your application where Facebook will send you “stuff.” Meaning, the URI within your application where Facebook may send you an authorization code and an access token.

Where can I find redirect URI?

A redirect URI, or reply URL, is the location where the authorization server sends the user once the app has been successfully authorized and granted an authorization code or access token.


1 Answers

If you have just created your Facebook app, then you have to first add the "Facebook Login" Product. You can do so by clicking on the + Add Product link under the PRODUCTS section on the left side of the page and by choosing Facebook Login in the resulting page.

Once you've added this Product you can find the settings in the following page

https://developers.facebook.com/sa/apps/YOUR_APP_ID/fb-login/

Please replace YOUR_APP_ID with your real App ID, which is a string like 078717227531318.

like image 172
dmnlk Avatar answered Sep 20 '22 01:09

dmnlk