Example - Form based Auth
This example demonstrates form based auth with aah framework. Form based auth includes authentication, route authorization via routes config, access permissions on view files and session access on View files.
Get aah examples
git clone https://github.com/go-aah/examples.git aah-examples
Run this example
cd aah-examples/form-based-auth aah run
Visit this URL
The application will take you to the login page. From there, it is self explanatory. Happy coding!
Navigate these URLs with various credentials listed on the login page. Observe the application logs to learn more.