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 $GOPATH/src/aahframework.org/examples
Run this example
aah r -i aahframework.org/examples/form-based-auth
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.