diff --git a/share/templates/readmes/certbot.md b/share/templates/readmes/certbot.md new file mode 100644 index 0000000..b2462cd --- /dev/null +++ b/share/templates/readmes/certbot.md @@ -0,0 +1 @@ +certbot looks through all configuration files and modifies them for ssl diff --git a/share/templates/readmes/social_auth.md b/share/templates/readmes/social_auth.md index 080254c..defab85 100644 --- a/share/templates/readmes/social_auth.md +++ b/share/templates/readmes/social_auth.md @@ -68,3 +68,29 @@ Go to Roles->Test Users - https://ronnyabraham.com/oauth/complete/facebook/ 6. use letsencrypt to create ssl keys + + +### setting up facebook + +1. if used for testing make sure you set the app FOR TESTING you have to do this in the create app stage + +2. [select create test app from the app you like](https://imgur.com/RzK3pS3) + +3. go to settings->basic get the app-id and app-secret + +4. go to Settings-Basic-App Domains and add your FQDN (ie. mycrustyass.com) + +5. go to Settings-Basic-Website (it's near the bottom, add website if it isn't there), add the site URL with it's prefix ie http or https. + +Step 5 is VERY IMPORTANT b/c facebook doesn't recognize http prefix. +You must have SSL set up. But this is NOT the caes with localhost! + +6. in Settings-Products add Facebook Login then set Web OAuth Login to true +7. Settings-Products-Facebook Login add Valid OAuth redirect calls. + +Important! You must find out what the specific redirect call looks like. Once again, facebook doesn't require this for localhost, but for a named host it does + +e.g. https://mycrustyass.com/oauth/complete/facebook/ + +8. test this URL in the Settings-Products-FAcebook Login-Redirect URL Validator +