fix: missing icons in OAuth2 strategies. (#126)

This commit is contained in:
James Harton 2023-01-12 17:55:40 +13:00 committed by GitHub
parent 6c093788b8
commit 63aaea6871
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -725,8 +725,9 @@ defmodule AshAuthentication.Dsl do
end
defp strategy_fields(strategy, params) do
params
|> Keyword.put(:assent_strategy, strategy)
[]
|> strategy.default_config()
|> Keyword.put(:assent_strategy, strategy)
|> Keyword.merge(params)
end
end