How to Use Built-In Phoenix Authentication: Difference between revisions

From ElixirBlocks
Jump to: navigation, search
(Created page with "{{In_progress}} <hr/> Phoenix has a built in authentication generator. To use the feature, you can run the following command: <source> mix phx.gen.auth Accounts User users </source> You are asked to choose the form of authentication that you want. The 2 choices are LiveView authentication or Controller based authentication. ==LiveView Authentication== ==Controller Based Authentication==")
(No difference)

Revision as of 02:10, 3 December 2023

This page is in progress


Phoenix has a built in authentication generator.

To use the feature, you can run the following command:

mix phx.gen.auth Accounts User users

You are asked to choose the form of authentication that you want. The 2 choices are LiveView authentication or Controller based authentication.

LiveView Authentication

Controller Based Authentication