Fix Facebook scopes for cross-posting
Facebook deprecated their v1.0 API and thus the old ones no longer work (for new authorizations). closes #6019 [ci skip]
This commit is contained in:
parent
b8a6af2742
commit
d2e0b3ceae
2 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@
|
||||||
* Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005)
|
* Replace vendored assets for facebox by gem [#6005](https://github.com/diaspora/diaspora/pull/6005)
|
||||||
* Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016)
|
* Improve styling of horizontal ruler in posts [#6016](https://github.com/diaspora/diaspora/pull/6016)
|
||||||
* Increase post titles length to 50 and use configured pod name as title in the atom feed [#6020](https://github.com/diaspora/diaspora/pull/6020)
|
* Increase post titles length to 50 and use configured pod name as title in the atom feed [#6020](https://github.com/diaspora/diaspora/pull/6020)
|
||||||
|
* Remove deprecated Facebook permissions [#6019](https://github.com/diaspora/diaspora/pull/6019)
|
||||||
|
|
||||||
## Bug fixes
|
## Bug fixes
|
||||||
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)
|
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ Rails.application.config.middleware.use OmniAuth::Builder do
|
||||||
|
|
||||||
if AppConfig.services.facebook.enable?
|
if AppConfig.services.facebook.enable?
|
||||||
provider :facebook, AppConfig.services.facebook.app_id, AppConfig.services.facebook.secret, {
|
provider :facebook, AppConfig.services.facebook.app_id, AppConfig.services.facebook.secret, {
|
||||||
display: 'popup',
|
display: "popup",
|
||||||
scope: 'publish_actions,publish_stream,offline_access',
|
scope: "public_profile,publish_actions",
|
||||||
client_options: {
|
client_options: {
|
||||||
ssl: {
|
ssl: {
|
||||||
ca_file: AppConfig.environment.certificate_authorities
|
ca_file: AppConfig.environment.certificate_authorities
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue