Switch branches/tags
Find file History
Pull request Compare This branch is 1 commit behind v0.12.x.
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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 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.