resa
POW Upgrade from 1.0.27 to 1.0.38 on phoenix 1.7
Hello, I am gradually updating a legacy codebase that uses POW 1.0.27, I recently updated the phoenix version to 1.7 and now I have updated the POW version to 1.0.38, But due to the absence of views in phoenix 1.7, I am now stuck on how to rewrite the POW setup to match the upgrade.
This is my current file structure (it is an umbrella app, I am only showing the app I am currently dealing with - authentication)
I keep getting the error:
no "new" html template defined for AuthenticationWeb.Pow.SessionViewView (the module does not exist)
when I try to visit http://localhost:4000/session/new?request_path=%2F
what could I be doing wrong? are there any resources that can help?
I have scoured the entire POW documentation and tried to replicate what I think might be a solution, but nothing has worked. Also I am being careful not to do a total overhaul, as it is a legacy application and many things are delicate.
Marked As Solved
arcanemachine
Not sure if this helps, but you can still add :phoenix_view as a separate dependency if you want to use the old view layer implementation:
Also Liked
resa
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance











