diff options
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs index ccdd35777..6839b489b 100644 --- a/config/config.exs +++ b/config/config.exs @@ -381,6 +381,21 @@ config :pleroma, :ldap, base: System.get_env("LDAP_BASE") || "dc=example,dc=com", uid: System.get_env("LDAP_UID") || "cn" +config :pleroma, :auth, oauth_consumer_enabled: false + +config :ueberauth, + Ueberauth, + base_path: "/oauth", + providers: [ + twitter: + {Ueberauth.Strategy.Twitter, + [callback_params: ~w[client_id redirect_uri scope scopes]]} + ] + +config :ueberauth, Ueberauth.Strategy.Twitter.OAuth, + consumer_key: System.get_env("TWITTER_CONSUMER_KEY"), + consumer_secret: System.get_env("TWITTER_CONSUMER_SECRET") + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs" |