Switch branches/tags
Nothing to show
Find file History


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.

Learn more about Security design, Authentication, Authorization and Form Auth scheme.

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.