OIDC test - test jumbojett oidc round two change root paths
This commit is contained in:
1 parent
4b7abac7ca
commit
07d3895eb5
6 files changed
+6
-6
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||
# Apache on 8069
|
||||
COPY apache_ports.conf /etc/apache2/ports.conf
|
||||
COPY apache_vhost.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY web/ /var/www/html/
|
||||
COPY web/ /var/www/
|
||||
# Set up composer
|
||||
WORKDIR /var/www/html/
|
||||
RUN composer require jumbojett/openid-connect-php
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
use Jumbojett\OpenIDConnectClient;
|
||||
|
||||
session_start();
|
||||
$config = require __DIR__ . '/config.php';
|
||||
$config = require __DIR__ . '/../config.php';
|
||||
|
||||
$oidc = new OpenIDConnectClient(
|
||||
$config['provider_url'],
|
||||
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
use Jumbojett\OpenIDConnectClient;
|
||||
|
||||
session_start();
|
||||
$config = require __DIR__ . '/config.php';
|
||||
$config = require __DIR__ . '/../config.php';
|
||||
|
||||
$oidc = new OpenIDConnectClient(
|
||||
$config['provider_url'],
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
session_start();
|
||||
$config = require __DIR__ . '/config.php';
|
||||
$config = require __DIR__ . '/../config.php';
|
||||
|
||||
if (!isset($_SESSION['authenticated'])) {
|
||||
// User not logged in – show a login button
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user