Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Compat with openid plugin 1.0.2

Chocobozzzacaabaace134
diff --git a/packages/tests/src/external-plugins/auth-openid-connect.ts b/packages/tests/src/external-plugins/auth-openid-connect.ts
index 70bf7f880a..d0a9f8b742 100644
--- a/packages/tests/src/external-plugins/auth-openid-connect.ts
+++ b/packages/tests/src/external-plugins/auth-openid-connect.ts
@@ -258,6 +258,7 @@ async function sendBackKeycloakCode (options: {
fields: {
code: extractInputValue(kcText, 'code'),
iss: extractInputValue(kcText, 'iss'),
+ state: extractInputValue(kcText, 'state'),
session_state: extractInputValue(kcText, 'session_state')
},
expectedStatus
diff --git a/support/doc/development/tests.md b/support/doc/development/tests.md
index 2419b31ba2..10cdea4b9f 100644
--- a/support/doc/development/tests.md
+++ b/support/doc/development/tests.md
@@ -29,6 +29,7 @@ Run docker containers needed by some test files:
```bash
sudo docker run -p 9444:9000 chocobozzz/s3-ninja
sudo docker run -p 10389:10389 chocobozzz/docker-test-openldap
+sudo docker run -p 8082:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin chocobozzz/peertube-tests-keycloak
```
Ensure you also have these commands: