Elixir/Phoenix - implement authentication without a database

573 Views Asked by At

I intend to use Elixir and Phoenix LiveView to develop a front-end only application. My elixir app will be consuming an external REST API. This API has a /login endpoint that returns the current user information and a bearer token that can be used to access the other endpoints.

My initial attempt was the phx.gen.auth solution, but it uses database tables. What strategy would be apt for my use case?

1

There are 1 best solutions below

1
S4eed3sm On BEST ANSWER

Just Run phoenix.new --no-ecto test_project.