The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
package TestApp;

use Moose;

extends 'Catalyst';

__PACKAGE__->config(
    'Plugin::Authentication' => {
        default => {
            credential => {
                class              => 'Facebook::OAuth2',
                application_id     => $ENV{FACEBOOK_APPLICATION_ID},
                application_secret => $ENV{FACEBOOK_APPLICATION_SECRET},
            },
            store => {
                class => 'Null',
            },
        },
    },
);

__PACKAGE__->setup(qw(
    Authentication
));

1;