Deprecate JWT flow in favor of OAuth2 flow
Change-Id: I98f44d80be07dfd4bf97bcbd30510128fd035a46
diff --git a/t/plugin/auth.t b/t/plugin/auth.t
index bd9a3b1..1d1a375 100644
--- a/t/plugin/auth.t
+++ b/t/plugin/auth.t
@@ -13,7 +13,10 @@
my $t = Test::Mojo->new('Kalamar' => {
Kalamar => {
- plugins => ['Auth']
+ plugins => ['Auth'],
+ },
+ 'Kalamar-Auth' => {
+ jwt => 1
}
});
diff --git a/t/plugin/query_reference.t b/t/plugin/query_reference.t
index 97b7345..4fdcf09 100644
--- a/t/plugin/query_reference.t
+++ b/t/plugin/query_reference.t
@@ -14,6 +14,11 @@
my $t = Test::Mojo->new('Kalamar' => {
Kalamar => {
plugins => ['Auth','QueryReference']
+ },
+ 'Kalamar-Auth' => {
+ client_id => 2,
+ client_secret => 'k414m4r-s3cr3t',
+ oauth2 => 1
}
});