The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
name MyApp
<Controller::Root>
    auth_url http://localhost:3000/login
</Controller::Root>
<Plugin::Authentication>
    default_realm authtkt
    <realms>
        <authtkt>
            class AuthTkt
            <credential>
                class AuthTkt
            </credential>
            <store>
                class AuthTkt
                
                cookie_name auth_tkt
                
                # either the path to your Apache .conf file
                #conf path/to/httpd.conf
                
                # or set the secret string explicitly
                secret fee fi fo fum
                
                # these next two are the Apache::AuthTkt defaults
                timeout         2h
                timeout_refresh 0.50
                
                # explicitly define a domain for the cookie
                # NOTE the leading dot means every host in the subdomain
                domain .localhost.local

            </store>
        </authtkt>
    </realms>
</Plugin::Authentication>