This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| user_guide:social_login [2019/06/25 12:46] – [The user used for the temporary session] admin | user_guide:social_login [2019/06/25 13:53] (current) – [Facebook side] admin | ||
|---|---|---|---|
| Line 102: | Line 102: | ||
| * Facebook will now generate your App with a unique ID which you will later use in RADIUSdesk' | * Facebook will now generate your App with a unique ID which you will later use in RADIUSdesk' | ||
| + | * The App itself will have settings which you can access. Under the **Basic** settings you will find the **App Id** and **App Secret**. | ||
| + | * Record the application' | ||
| - | {{: | + | {{: |
| * You can now go to the **Products** menu in the bottom left. Click on add a **Product**. We need to add **Facebook Login**. This product will allow for **OAuth2** based authentication which is what we need for Social Logins. | * You can now go to the **Products** menu in the bottom left. Click on add a **Product**. We need to add **Facebook Login**. This product will allow for **OAuth2** based authentication which is what we need for Social Logins. | ||
| - | {{: | + | {{: |
| - | {{: | + | * Ignore the **Quickstart** options and go to the **Settings** menu on the left for the **Facebook Login** |
| - | + | ||
| - | {{: | + | |
| {{: | {{: | ||
| + | |||
| + | * Facebook tighten their security a lot and one now have to explicitly specify the URL's which OAuth will redirect back to. (Our RADIUSdesk server) | ||
| + | * They also force you to use **https** on the server you specify that you will be redirecting back to. | ||
| + | * Our server here is **dev.radiusdesk.com**. Please change this in order to fit your environment. | ||
| + | * The URI in our deployment is https:// | ||
| + | * This is the value we specify in the **Valid OAuth Redirect URIs** item. The other items we leave as is (Defaults). | ||
| {{: | {{: | ||
| - | * Go to the **Settings** of the application and specify the URL of the server where you will serve the login pages from. | + | * After you saved this there is one item outstanding before |
| - | * Beware that Facebook require that the redirected URL be precisely the same as the one specified. This means that if your login page on the captive portal looks like http:// | + | * Top left is a switch to take the App out of development |
| - | + | ||
| - | * Record | + | |
| - | * Select | + | |
| <WRAP center round alert 90%> | <WRAP center round alert 90%> | ||
| - | Failing to make the application | + | Failing to make the application |
| </ | </ | ||