Ash FrameworkAF
Ash Framework8mo ago
35 replies
Shaba

Ash Authentication `no case clause matching: "TOKEN_SIGNING_SECRET"`

When installing ash authentication hitting the following error:
mix igniter.install ash_authentication

Updating project's igniter dependency ✔
checking for igniter in project ✔
temporarily adding igniter ✔
compiling igniter ✔
setting up igniter ✔
Dependency ash_authentication is already in mix.exs with the desired version. Skipping.
Generated tunez app
** (CaseClauseError) no case clause matching: "TOKEN_SIGNING_SECRET"
    (rewrite 1.1.2) lib/rewrite/dot_formatter.ex:725: Rewrite.DotFormatter.format_quoted!/4
    (rewrite 1.1.2) lib/rewrite/source/ex.ex:169: Rewrite.Source.Ex.update_quoted/3
    (rewrite 1.1.2) lib/rewrite/source/ex.ex:157: Rewrite.Source.Ex.handle_update/4
    (rewrite 1.1.2) lib/rewrite/source.ex:501: Rewrite.Source.update/4
    (igniter 0.6.7) lib/igniter.ex:1641: Igniter.apply_func_with_zipper/3
    (igniter 0.6.7) lib/igniter.ex:509: Igniter.update_elixir_file/3
    (ash_authentication 4.9.2) lib/mix/tasks/ash_authentication.install.ex:265: Mix.Tasks.AshAuthentication.Install.generate_user_resource/7
    (ash_authentication 4.9.2) lib/mix/tasks/ash_authentication.install.ex:97: Mix.Tasks.AshAuthentication.Install.igniter/1
Was this page helpful?