snapshot of https://github.com/RocketChat/Rocket.Chat.git (develop, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
This commit is contained in:
36
apps/meteor/tests/e2e/containers/saml/Dockerfile
Normal file
36
apps/meteor/tests/e2e/containers/saml/Dockerfile
Normal file
@@ -0,0 +1,36 @@
|
||||
FROM php:8.2-apache-bookworm
|
||||
|
||||
# Utilities
|
||||
RUN apt-get update && \
|
||||
apt-get -y install apt-transport-https git curl vim --no-install-recommends && \
|
||||
rm -r /var/lib/apt/lists/*
|
||||
|
||||
# SimpleSAMLphp
|
||||
ARG SIMPLESAMLPHP_VERSION=1.19.6
|
||||
RUN curl -s -L -o /tmp/simplesamlphp.tar.gz https://github.com/simplesamlphp/simplesamlphp/releases/download/v$SIMPLESAMLPHP_VERSION/simplesamlphp-$SIMPLESAMLPHP_VERSION.tar.gz && \
|
||||
tar xzf /tmp/simplesamlphp.tar.gz -C /tmp && \
|
||||
rm -f /tmp/simplesamlphp.tar.gz && \
|
||||
mv /tmp/simplesamlphp-* /var/www/simplesamlphp && \
|
||||
touch /var/www/simplesamlphp/modules/exampleauth/enable
|
||||
COPY config/simplesamlphp/config.php /var/www/simplesamlphp/config
|
||||
COPY config/simplesamlphp/authsources.php /var/www/simplesamlphp/config
|
||||
COPY config/simplesamlphp/saml20-idp-hosted.php /var/www/simplesamlphp/metadata
|
||||
COPY config/simplesamlphp/saml20-sp-remote.php /var/www/simplesamlphp/metadata
|
||||
COPY config/simplesamlphp/server_crt /var/www/simplesamlphp/cert/server.crt
|
||||
COPY config/simplesamlphp/server_pem /var/www/simplesamlphp/cert/server.pem
|
||||
|
||||
# Apache
|
||||
COPY config/apache/ports.conf /etc/apache2
|
||||
COPY config/apache/simplesamlphp.conf /etc/apache2/sites-available
|
||||
COPY config/apache/cert_crt /etc/ssl/cert/cert.crt
|
||||
COPY config/apache/private_key /etc/ssl/private/private.key
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
a2enmod ssl && \
|
||||
a2dissite 000-default.conf default-ssl.conf && \
|
||||
a2ensite simplesamlphp.conf
|
||||
|
||||
# Set work dir
|
||||
WORKDIR /var/www/simplesamlphp
|
||||
|
||||
# General setup
|
||||
EXPOSE 8080 8443
|
||||
21
apps/meteor/tests/e2e/containers/saml/config/apache/cert_crt
Normal file
21
apps/meteor/tests/e2e/containers/saml/config/apache/cert_crt
Normal file
@@ -0,0 +1,21 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDXTCCAkWgAwIBAgIJANdMEUvsTntJMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
|
||||
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRlcm5ldCBX
|
||||
aWRnaXRzIFB0eSBMdGQwHhcNMTYxMjMxMTQzMjIxWhcNNDgwNjI1MTQzMjIxWjBF
|
||||
MQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50
|
||||
ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
|
||||
CgKCAQEAyXRKD3KzV/hOqwThFRtA+eoitJpIIEmWbugPMC1G+7bFqxHmtxiuQhOw
|
||||
yHrij35biiD8VpboY69Zep7n1QCfmIodh9uxdaNxFtzxjryRLzfP3MpPFkpBHCdV
|
||||
HZWDP2TzIvOxWcnlLmikSnBrBM1nvhKSWjaFsjDAXMLXT0mceiDpQ0QQkDA6RAyx
|
||||
JWWRJILjudBh56ukqvdz4eFWAAViZX5MUwCDxiBxtP3NIXVmODM7kDLqZ9+QcfpM
|
||||
N5QvfcUjHP9584yrYiJ9N64Fy5vU2OH1RX5EsMHTtdqR4H5K6zNfVlgRSG170Mcj
|
||||
ksTSbo1kcDCSuzTO82NrVkU+R78W/QIDAQABo1AwTjAdBgNVHQ4EFgQUkYMQMPqY
|
||||
leTTtBHS1f7yNFmY86QwHwYDVR0jBBgwFoAUkYMQMPqYleTTtBHS1f7yNFmY86Qw
|
||||
DAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAGZpbEWzYLoa5keg9rQDa
|
||||
S2cf9rQFMNflwR7hQ6OtSXeP0JsQ6yFhRq3TgpBdbkmdealDJbyG8pWQxqwOBD/j
|
||||
45jr+NsHap0HvQAg9pfq/QIqjH5osCGAHmNdHfP638FOpi0s6hAX11+nCW6ClHMO
|
||||
ofn0fYXCBtM18qZvtoeB8swi6MlRXFLvvRL4tWzGugdQj+0f+ukk/GZAEitdpkuj
|
||||
qFCHqfKwg9FJ4My5M8lIyB/P4+SK/ail/BoCJ/qGBXky2bob0MQuLysd35zrTA62
|
||||
j5IvPp1XZj/2KnuPtqMuFhNtE5wCnOEC1WG02ZVIfs4DAxX78z59VSEaFlnstT9k
|
||||
aQ==
|
||||
-----END CERTIFICATE-----
|
||||
@@ -0,0 +1,9 @@
|
||||
Listen 8080
|
||||
|
||||
<IfModule ssl_module>
|
||||
Listen 8443
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_gnutls.c>
|
||||
Listen 8443
|
||||
</IfModule>
|
||||
@@ -0,0 +1,28 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhk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N7bQOY3DKc
|
||||
FuGSbIbV7ldPmZhOxqLy6NLyiry6eSQGNf1Q8YCF6bsUR/rvdKDtBLrbJObgRVbu
|
||||
ChT2PXRYKQKBgFSEDZMGvMReqebE4qSZTm592+Nq60MFUL2y0V0yXc3CHxL2Y4Hw
|
||||
GGFKg+T08rhlsxhc1RLlJqdqMPmyCT9Gsj+PsTyMWPdC2b3mj2We2MKpxPtRR0W+
|
||||
tvRM+U46xxOmu6y9wqV65+TM8IImXU1eEd1i5G+Pjn7ytjL+74Qe+PA9AoGAEasM
|
||||
F5YmG10lQU+Z1HiQzwxlsy+Ngx+q/vNrNDAxLVF8253Vs3bcnsYSpkJV8Vx7tRjY
|
||||
YzAyrzzVcr4aXhDhjBjCu1sw1B3de+KCOhZafPSwngc8qW5AyxE7Zv6fP+gvRQvw
|
||||
R6LRwBF5JCde0mADk0Q0s4/2xhl/Y+ydjbb6HskCgYEAysuIUrDslGGsK57loxMO
|
||||
FVz9SmLTZIJqkSW+l3dDHMG+BvnJFP+yf0Kr2zGbXRzOvNVWAFP2aU39RFDxbUIM
|
||||
Nz7obLWrVKbQUDaU7fCbP4OBVuo9p4UM6j/PZy+3Cyps+GMTrC9wi4HbbNEWHyCW
|
||||
xaNL9LNQ3B9hJG77htK1oRw=
|
||||
-----END PRIVATE KEY-----
|
||||
@@ -0,0 +1,23 @@
|
||||
<VirtualHost *:8080>
|
||||
ServerName localhost
|
||||
DocumentRoot /var/www/simplesamlphp
|
||||
Alias /simplesaml /var/www/simplesamlphp/www
|
||||
<Directory /var/www/simplesamlphp/www>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Require all granted
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
<VirtualHost *:8443>
|
||||
ServerName localhost
|
||||
DocumentRoot /var/www/simplesamlphp
|
||||
SSLEngine on
|
||||
SSLCertificateFile /etc/ssl/cert/cert.crt
|
||||
SSLCertificateKeyFile /etc/ssl/private/private.key
|
||||
Alias /simplesaml /var/www/simplesamlphp/www
|
||||
<Directory /var/www/simplesamlphp/www>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Require all granted
|
||||
</IfModule>
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
$config = array(
|
||||
|
||||
'admin' => array(
|
||||
'core:AdminPassword',
|
||||
),
|
||||
|
||||
'example-userpass' => array(
|
||||
'exampleauth:UserPass',
|
||||
'samluser1:password' => array(
|
||||
'uid' => array('1'),
|
||||
'username' => 'samluser1',
|
||||
'cn' => 'Saml User 1',
|
||||
'eduPersonAffiliation' => array('group1'),
|
||||
'email' => 'samluser1@example.com',
|
||||
),
|
||||
'samluser2:password' => array(
|
||||
'uid' => array('2'),
|
||||
'username' => 'samluser2',
|
||||
'cn' => 'Saml User 2',
|
||||
'eduPersonAffiliation' => array('group2'),
|
||||
'email' => 'user_for_saml_merge@email.com',
|
||||
),
|
||||
'samluser3:password' => array(
|
||||
'uid' => array('3'),
|
||||
'username' => 'user_for_saml_merge2',
|
||||
'cn' => 'Saml User 3',
|
||||
'eduPersonAffiliation' => array('group2'),
|
||||
'email' => 'samluser3@example.com',
|
||||
),
|
||||
'samluser4:password' => array(
|
||||
'uid' => array('4'),
|
||||
'username' => 'samluser4',
|
||||
'cn' => 'Saml User 4',
|
||||
'eduPersonAffiliation' => array('group4'),
|
||||
'email' => 'samluser4@example.com',
|
||||
'role' => 'saml-role',
|
||||
),
|
||||
'samluser5:password' => array(
|
||||
'uid' => array('5'),
|
||||
'username' => 'samluser5',
|
||||
'eduPersonAffiliation' => array('group5'),
|
||||
'email' => 'samluser5@example.com',
|
||||
),
|
||||
'samluser6:password' => array(
|
||||
'uid' => array('6'),
|
||||
'username' => 'samluser6',
|
||||
'displayName' => 'Saml User 6 Display Name',
|
||||
'eduPersonAffiliation' => array('group6'),
|
||||
'email' => 'samluser6@example.com',
|
||||
),
|
||||
'samluser7:password' => array(
|
||||
'uid' => array('7'),
|
||||
'username' => 'samluser7',
|
||||
'cn' => 'Saml User 7',
|
||||
'eduPersonAffiliation' => array('group7'),
|
||||
'email' => 'samluser7@example.com',
|
||||
'channels' => array('saml-channel-1', 'saml-channel-2'),
|
||||
),
|
||||
'samlusernoname:password' => array(
|
||||
'uid' => array('5'),
|
||||
'cn' => 'Saml User No Username',
|
||||
'eduPersonAffiliation' => array('group2'),
|
||||
'email' => 'samlusernoname@example.com',
|
||||
),
|
||||
'samlusernoname2:password' => array(
|
||||
'uid' => array('6'),
|
||||
'cn' => 'Saml User No Username 2',
|
||||
'eduPersonAffiliation' => array('group2'),
|
||||
'email' => 'samlusernoname2@example.com',
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,112 @@
|
||||
<?php
|
||||
$config = array(
|
||||
'baseurlpath' => 'simplesaml/',
|
||||
'certdir' => 'cert/',
|
||||
'loggingdir' => 'log/',
|
||||
'datadir' => 'data/',
|
||||
'tempdir' => '/tmp/simplesaml',
|
||||
'debug' => true,
|
||||
'showerrors' => true,
|
||||
'errorreporting' => true,
|
||||
'debug.validatexml' => false,
|
||||
'auth.adminpassword' => 'secret',
|
||||
'admin.protectindexpage' => false,
|
||||
'admin.protectmetadata' => false,
|
||||
'secretsalt' => 'defaultsecretsalt',
|
||||
'technicalcontact_name' => 'Administrator',
|
||||
'technicalcontact_email' => 'na@example.org',
|
||||
'timezone' => null,
|
||||
'logging.level' => SimpleSAML_Logger::DEBUG,
|
||||
'logging.handler' => 'errorlog',
|
||||
//'logging.format' => '%date{%b %d %H:%M:%S} %process %level %stat[%trackid] %msg',
|
||||
'logging.facility' => defined('LOG_LOCAL5') ? constant('LOG_LOCAL5') : LOG_USER,
|
||||
'logging.processname' => 'simplesamlphp',
|
||||
'logging.logfile' => 'simplesamlphp.log',
|
||||
'statistics.out' => array(
|
||||
),
|
||||
'database.dsn' => 'mysql:host=localhost;dbname=saml',
|
||||
'database.username' => 'simplesamlphp',
|
||||
'database.password' => 'secret',
|
||||
'database.prefix' => '',
|
||||
'database.persistent' => false,
|
||||
'database.slaves' => array(
|
||||
),
|
||||
'enable.saml20-idp' => true,
|
||||
'enable.shib13-idp' => true,
|
||||
'enable.adfs-idp' => false,
|
||||
'enable.wsfed-sp' => false,
|
||||
'enable.authmemcookie' => false,
|
||||
'session.duration' => 8 * (60 * 60), // 8 hours.
|
||||
'session.datastore.timeout' => (4 * 60 * 60), // 4 hours
|
||||
'session.state.timeout' => (60 * 60), // 1 hour
|
||||
'session.cookie.name' => 'SimpleSAMLSessionIDIdp',
|
||||
'session.cookie.lifetime' => 0,
|
||||
'session.cookie.path' => '/',
|
||||
'session.cookie.domain' => null,
|
||||
'session.cookie.secure' => false,
|
||||
'session.cookie.samesite' => 'Lax',
|
||||
'enable.http_post' => false,
|
||||
'session.phpsession.cookiename' => 'PHPSESSIDIDP',
|
||||
'session.phpsession.savepath' => null,
|
||||
'session.phpsession.httponly' => true,
|
||||
'session.authtoken.cookiename' => 'SimpleSAMLAuthTokenIdp',
|
||||
'session.rememberme.enable' => false,
|
||||
'session.rememberme.checked' => false,
|
||||
'session.rememberme.lifetime' => (14 * 86400),
|
||||
'language.available' => array(
|
||||
'en', 'no', 'nn', 'se', 'da', 'de', 'sv', 'fi', 'es', 'fr', 'it', 'nl', 'lb', 'cs',
|
||||
'sl', 'lt', 'hr', 'hu', 'pl', 'pt', 'pt-br', 'tr', 'ja', 'zh', 'zh-tw', 'ru', 'et',
|
||||
'he', 'id', 'sr', 'lv', 'ro', 'eu'
|
||||
),
|
||||
'language.rtl' => array('ar', 'dv', 'fa', 'ur', 'he'),
|
||||
'language.default' => 'en',
|
||||
'language.parameter.name' => 'language',
|
||||
'language.parameter.setcookie' => true,
|
||||
'language.cookie.name' => 'language',
|
||||
'language.cookie.domain' => null,
|
||||
'language.cookie.path' => '/',
|
||||
'language.cookie.lifetime' => (60 * 60 * 24 * 900),
|
||||
'attributes.extradictionary' => null,
|
||||
'theme.use' => 'default',
|
||||
'default-wsfed-idp' => 'urn:federation:pingfederate:localhost',
|
||||
'idpdisco.enableremember' => true,
|
||||
'idpdisco.rememberchecked' => true,
|
||||
'idpdisco.validate' => true,
|
||||
'idpdisco.extDiscoveryStorage' => null,
|
||||
'idpdisco.layout' => 'dropdown',
|
||||
'shib13.signresponse' => true,
|
||||
'authproc.idp' => array(
|
||||
30 => 'core:LanguageAdaptor',
|
||||
45 => array(
|
||||
'class' => 'core:StatisticsWithAttribute',
|
||||
'attributename' => 'realm',
|
||||
'type' => 'saml20-idp-SSO',
|
||||
),
|
||||
50 => 'core:AttributeLimit',
|
||||
99 => 'core:LanguageAdaptor',
|
||||
),
|
||||
'authproc.sp' => array(
|
||||
90 => 'core:LanguageAdaptor',
|
||||
),
|
||||
'metadata.sources' => array(
|
||||
array('type' => 'flatfile'),
|
||||
),
|
||||
'store.type' => 'phpsession',
|
||||
'store.sql.dsn' => 'sqlite:/path/to/sqlitedatabase.sq3',
|
||||
'store.sql.username' => null,
|
||||
'store.sql.password' => null,
|
||||
'store.sql.prefix' => 'SimpleSAMLphp',
|
||||
'memcache_store.servers' => array(
|
||||
array(
|
||||
array('hostname' => 'localhost'),
|
||||
),
|
||||
),
|
||||
'memcache_store.prefix' => null,
|
||||
'memcache_store.expires' => 36 * (60 * 60), // 36 hours.
|
||||
'metadata.sign.enable' => false,
|
||||
'metadata.sign.privatekey' => null,
|
||||
'metadata.sign.privatekey_pass' => null,
|
||||
'metadata.sign.certificate' => null,
|
||||
'proxy' => null,
|
||||
'trusted.url.domains' => array('localhost:3000'),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$metadata['http://localhost:3000/_saml/metadata/test-sp'] = [
|
||||
'entityid' => 'http://localhost:3000/_saml/metadata/test-sp',
|
||||
'host' => '__DEFAULT__',
|
||||
'privatekey' => 'server.pem',
|
||||
'certificate' => 'server.crt',
|
||||
'auth' => 'example-userpass',
|
||||
'redirect.sign' => true,
|
||||
|
||||
/*
|
||||
* Force the NameID to be the raw email attribute value in emailAddress
|
||||
* format, bypassing SimpleSAMLphp's default persistent (hashed) nameID
|
||||
* generation.
|
||||
*/
|
||||
'authproc' => [
|
||||
100 => [
|
||||
'class' => 'saml:AttributeNameID',
|
||||
'attribute' => 'email',
|
||||
'Format' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
$metadata['http://localhost:3000/_saml/metadata/test-sp'] = array (
|
||||
'entityid' => 'http://localhost:3000/_saml/metadata/test-sp',
|
||||
'contacts' => array (
|
||||
),
|
||||
'metadata-set' => 'saml20-sp-remote',
|
||||
'AssertionConsumerService' => array (
|
||||
0 => array (
|
||||
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
|
||||
'Location' => 'http://localhost:3000/_saml/validate/test-sp',
|
||||
'index' => 1,
|
||||
'isDefault' => true,
|
||||
),
|
||||
),
|
||||
'SingleLogoutService' => array (
|
||||
0 => array (
|
||||
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
|
||||
'Location' => 'http://localhost:3000/_saml/logout/test-sp/',
|
||||
'ResponseLocation' => 'http://localhost:3000/_saml/logout/test-sp/',
|
||||
),
|
||||
),
|
||||
'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
|
||||
// Other settings that may be useful for testing, but are not compatible with the existing e2e tests
|
||||
'privatekey' => 'server.pem',
|
||||
'certificate' => 'server.crt',
|
||||
'redirect.sign' => true,
|
||||
// 'redirect.validate' => true,
|
||||
// 'validate.logout' => true,
|
||||
// 'assertion.encryption' => true,
|
||||
);
|
||||
@@ -0,0 +1,21 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDXTCCAkWgAwIBAgIJALmVVuDWu4NYMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV
|
||||
BAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSE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aYlfLdKK9TYb8sG5B+OLab2DImG
|
||||
99CJ25RkAcSobWNF5zD0O6lgOo3cEdB/ksCq3hmtlC/DlLZ/D8CJ+7VuZnS1rR2n
|
||||
aQ==
|
||||
-----END CERTIFICATE-----
|
||||
@@ -0,0 +1,28 @@
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDNQIWjOA1vWHUz
|
||||
SPM1FIKOE4GdH65VtWlpZ9dghH4CFYN0R7mvJj4KBq86Dxt8vJvLMV16GVh0NGCR
|
||||
50QH8aMbxonDTqXSoXiMM4DDSQTKBYK7aZwftc7FG35gAfdNUdr8e7VbdaPOShuq
|
||||
qotDyCQpZYzbt86ABnoaJ5okE3pUFIwxw97LcdYsGZz5Ngma/V1to7aMeEqHyl8r
|
||||
DRbXZUzw/U8g7yC/g+G7+64liJ4FYqLEETLLSUePKLFgUJHXbF2HgIDjur3nxlEa
|
||||
ecNQYVUTVCGBFpwkI5n1t3m32avwotpUFhMImjkRETyPKZpvl0+p7mop8mwJmKpa
|
||||
CVuNSj23AgMBAAECggEABn4I/B20xxXcNzASiVZJvua9DdRHtmxTlkLznBj0x2oY
|
||||
y1/Nbs3d3oFRn5uEuhBZOTcphsgwdRSHDXZsP3gUObew+d2N/zieUIj8hLDVlvJP
|
||||
rU/s4U/l53Q0LiNByE9ThvL+zJLPCKJtd5uHZjB5fFm69+Q7gu8xg4xHIub+0pP5
|
||||
PHanmHCDrbgNN/oqlar4FZ2MXTgekW6Amyc/koE9hIn4Baa2Ke/B/AUGY4pMRLqp
|
||||
TArt+GTVeWeoFY9QACUpaHpJhGb/Piou6tlU57e42cLoki1f0+SARsBBKyXA7BB1
|
||||
1fMH10KQYFA68dTYWlKzQau/K4xaqg4FKmtwF66GQQKBgQD9OpNUS7oRxMHVJaBR
|
||||
TNWW+V1FXycqojekFpDijPb2X5CWV16oeWgaXp0nOHFdy9EWs3GtGpfZasaRVHsX
|
||||
SHtPh4Nb8JqHdGE0/CD6t0+4Dns8Bn9cSqtdQB7R3Jn7IMXi9X/U8LDKo+A18/Jq
|
||||
V8VgUngMny9YjMkQIbK8TRWkYQKBgQDPf4nxO6ju+tOHHORQty3bYDD0+OV3I0+L
|
||||
0yz0uPreryBVi9nY43KakH52D7UZEwwsBjjGXD+WH8xEsmBWsGNXJu025PvzIJoz
|
||||
lAEiXvMp/NmYp+tY4rDmO8RhyVocBqWHzh38m0IFOd4ByFD5nLEDrA3pDVo0aNgY
|
||||
n0GwRysZFwKBgQDkCj3m6ZMUsUWEty+aR0EJhmKyODBDOnY09IVhH2S/FexVFzUN
|
||||
LtfK9206hp/Awez3Ln2uT4Zzqq5K7fMzUniJdBWdVB004l8voeXpIe9OZuwfcBJ9
|
||||
gFi1zypx/uFDv421BzQpBN+QfOdKbvbdQVFjnqCxbSDr80yVlGMrI5fbwQKBgG09
|
||||
oRrepO7EIO8GN/GCruLK/ptKGkyhy3Q6xnVEmdb47hX7ncJA5IoZPmrblCVSUNsw
|
||||
n11XHabksL8OBgg9rt8oQEThQv/aDzTOW9aDlJNragejiBTwq99aYeZ1gjo1CZq4
|
||||
2jKubpCfyZC4rGDtrIfZYi1q+S2UcQhtd8DdhwQbAoGAAM4EpDA4yHB5yiek1p/o
|
||||
CbqRCta/Dx6Eyo0KlNAyPuFPAshupG4NBx7mT2ASfL+2VBHoi6mHSri+BDX5ryYF
|
||||
fMYvp7URYoq7w7qivRlvvEg5yoYrK13F2+Gj6xJ4jEN9m0KdM/g3mJGq0HBTIQrp
|
||||
Sm75WXsflOxuTn08LbgGc4s=
|
||||
-----END PRIVATE KEY-----
|
||||
7
apps/meteor/tests/e2e/containers/saml/docker-compose.yml
Normal file
7
apps/meteor/tests/e2e/containers/saml/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
version: '3'
|
||||
services:
|
||||
testsamlidp_idp:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
Reference in New Issue
Block a user