Ueberauth: extended format of OAUTH_CONSUMER_STRATEGIES to allow explicit dependency specification.
This commit is contained in:
parent
e706b42f51
commit
83663caa81
3 changed files with 24 additions and 9 deletions
|
|
@ -453,7 +453,11 @@ config :pleroma, :ldap,
|
|||
config :esshd,
|
||||
enabled: false
|
||||
|
||||
oauth_consumer_strategies = String.split(System.get_env("OAUTH_CONSUMER_STRATEGIES") || "")
|
||||
oauth_consumer_strategies =
|
||||
System.get_env("OAUTH_CONSUMER_STRATEGIES")
|
||||
|> to_string()
|
||||
|> String.split()
|
||||
|> Enum.map(&hd(String.split(&1, ":")))
|
||||
|
||||
ueberauth_providers =
|
||||
for strategy <- oauth_consumer_strategies do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue