diff --git a/documentation/tutorials/get-started.md b/documentation/tutorials/get-started.md index e62d90a8..d6e266bd 100644 --- a/documentation/tutorials/get-started.md +++ b/documentation/tutorials/get-started.md @@ -12,7 +12,7 @@ add authentication to your resources and APIs. #### Install the extension ```sh -mix igniter.install ash_authentication +mix igniter.install ash_authentication --auth-strategy magic_link,password ``` ##### Using Phoenix? @@ -21,12 +21,9 @@ Use the following. If you have not yet run the above command, this will prompt y so you can run both or only this one. ```sh -mix igniter.install ash_authentication_phoenix +mix igniter.install ash_authentication_phoenix --auth-strategy magic_link,password ``` -There is not a task(yet) for configuring the strategies and add-ons that you use. -So continue on below and select your strategies/add-ons and set them up manually. - ### Manual #### Add to your application's dependencies diff --git a/mix.exs b/mix.exs index 093494b7..7ae7300b 100644 --- a/mix.exs +++ b/mix.exs @@ -124,7 +124,10 @@ defmodule AshAuthentication.MixProject do """ end end, - filter_modules: ~r/^Elixir.AshAuthentication/, + filter_modules: fn mod, _ -> + String.starts_with?(inspect(mod), "AshAuthentication") || + String.starts_with?(inspect(mod), "Mix.Task") + end, source_url_pattern: "https://github.com/team-alembic/ash_authentication/blob/main/%{path}#L%{line}", groups_for_modules: [