Lines 64-70
subtest 'token-based tests' => sub {
Link Here
|
64 |
my $formData = { |
64 |
my $formData = { |
65 |
grant_type => 'client_credentials', |
65 |
grant_type => 'client_credentials', |
66 |
client_id => $api_key->client_id, |
66 |
client_id => $api_key->client_id, |
67 |
client_secret => $api_key->secret |
67 |
client_secret => $api_key->plain_text_secret |
68 |
}; |
68 |
}; |
69 |
$t->post_ok('/api/v1/oauth/token', form => $formData) |
69 |
$t->post_ok('/api/v1/oauth/token', form => $formData) |
70 |
->status_is(200) |
70 |
->status_is(200) |
71 |
- |
|
|