Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Commit

Permalink
Update index.php security instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad126 committed Jan 16, 2020
1 parent ab631e3 commit 269b0cf
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions web/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,23 @@ function () {
'secured' => array(
'pattern' => '^.*$',
'jwt' => [
'validation' => $app['config']['jwt']['validation'],
'required_claims' => [
'uid',
'nick',
'email',
'uitid' => [
'validation' => $app['config']['jwt']['uitid']['validation'],
'required_claims' => [
'uid',
'nick',
'email',
],
'public_key' => 'file://' . __DIR__ . '/../' . $app['config']['jwt']['uitid']['keys']['public']['file']
],
'auth0' => [
'validation' => $app['config']['jwt']['auth0']['validation'],
'required_claims' => [
'email',
'sub',
],
'public_key' => 'file://' . __DIR__ . '/../' . $app['config']['jwt']['auth0']['keys']['public']['file']
],
'public_key' => 'file://' . __DIR__ . '/../' . $app['config']['jwt']['keys']['public']['file'],
],
'stateless' => true,
),
Expand Down

0 comments on commit 269b0cf

Please sign in to comment.