File tree 3 files changed +23
-3
lines changed
src/Surfnet/StepupGateway/GatewayBundle/Sso2fa 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
+ haproxy :
3
+ networks :
4
+ openconextdev :
5
+ aliases :
6
+ - ra.dev.openconext.local
7
+ - ssp.dev.openconext.local
8
+ - selfservice.dev.openconext.local
9
+ - middleware.dev.openconext.local
10
+ - gateway.dev.openconext.local
11
+ - demogssp.dev.openconext.local
12
+ - webauthn.dev.openconext.local
13
+ - tiqr.dev.openconext.local
14
+ - azuremfa.dev.openconext.local
15
+ - mailcatcher.dev.openconext.local
2
16
gateway :
3
17
image : ghcr.io/openconext/openconext-basecontainers/php82-apache2-node20-composer2:latest
4
18
container_name : gateway
@@ -14,3 +28,9 @@ services:
14
28
mariadb :
15
29
volumes :
16
30
- ../../devconf/stepup/dbschema/:/docker-entrypoint-initdb.d/
31
+ azuremfa :
32
+ image : ghcr.io/openconext/stepup-azuremfa/stepup-azuremfa:test
33
+ environment :
34
+ APP_ENV : smoketest
35
+ volumes :
36
+ - ../../devconf/stepup/:/config
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
cp ../../devconf/stepup/gateway/surfnet_yubikey.yaml.dist ../../devconf/stepup/gateway/surfnet_yubikey.yaml
3
3
echo " pulling the images"
4
- docker compose pull gateway selenium haproxy ssp mariadb chrome
4
+ docker compose pull gateway selenium haproxy ssp mariadb azuremfa chrome
5
5
echo " starting the images"
6
- docker compose up gateway selenium haproxy ssp mariadb chrome -d
6
+ docker compose up gateway selenium haproxy ssp mariadb azuremfa chrome -d
7
7
echo " intialising the environment"
8
8
docker compose exec -T gateway bash -c '
9
9
cp /var/www/html/devconf/stepup/gateway/surfnet_yubikey.yaml.dist /var/www/html/devconf/stepup/gateway/surfnet_yubikey.yaml && \
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public function maySkipAuthentication(
149
149
return false ;
150
150
}
151
151
152
- if (!$ this ->secondFactorService ->findByUuid ($ ssoCookie ->secondFactorId (), )) {
152
+ if (!$ this ->secondFactorService ->findByUuid ($ ssoCookie ->secondFactorId ())) {
153
153
$ this ->logger ->notice (
154
154
'The second factor stored in the SSO cookie was revoked or has otherwise became unknown to Gateway ' ,
155
155
[
You can’t perform that action at this time.
0 commit comments