challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit ab00d2b3dd188cefbb9c393505174c8dde915574
parent cf698ee1387b8f7104955ecc202d3021bd902009
Author: Bohdan Potuzhnyi <potub1@bfh.ch>
Date:   Sun, 11 Aug 2024 10:02:10 +0000

happy path pkce tests added

Diffstat:
Msrc/challenger/Makefile.am | 4+++-
Asrc/challenger/src/.dirstamp | 0
Msrc/challenger/test-challenger-pkce.sh | 2+-
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/challenger/Makefile.am b/src/challenger/Makefile.am @@ -21,7 +21,8 @@ bin_SCRIPTS = \ challenger-send-sms.sh check_SCRIPTS = \ - test-challenger.sh + test-challenger.sh \ + test-challenger-pkce.sh TESTS = \ $(check_SCRIPTS) @@ -68,6 +69,7 @@ EXTRA_DIST = \ cat.sh \ challenger.conf \ test-challenger.conf \ + test-challenger-pkce.conf \ $(pkgcfg_DATA) \ $(bin_SCRIPTS) \ $(check_SCRIPTS) diff --git a/src/challenger/src/.dirstamp b/src/challenger/src/.dirstamp diff --git a/src/challenger/test-challenger-pkce.sh b/src/challenger/test-challenger-pkce.sh @@ -57,7 +57,7 @@ echo -n "Add challenger client ..." CLIENT_SECRET="secret-token:secret" challenger-admin -c "${CONF}" -a "${CLIENT_SECRET}" "${REDIRECT_URI}" &> admin.log echo " OK" -# We just reset the DB, thus the client ID must be 1 here: +# We run this test dbinit, thus the client ID must be 1 here: CLIENT_ID=1 echo -n "Start challenger-httpd ..."