Skip to content

Commit 3e94c39

Browse files
authored
Merge pull request #408 from CarlSchwan/fix-sso
2 parents 165e7e3 + a06077f commit 3e94c39

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ services:
4141
- stable30${DOMAIN_SUFFIX}
4242
- stable31${DOMAIN_SUFFIX}
4343
- mail${DOMAIN_SUFFIX}
44+
- sso${DOMAIN_SUFFIX}
4445
- imap${DOMAIN_SUFFIX}
4546
- collabora${DOMAIN_SUFFIX}
4647
- codedev${DOMAIN_SUFFIX}

docker/configs/var-simplesamlphp/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* external url, no matter where you come from (direct access or via the
2222
* reverse proxy).
2323
*/
24-
'baseurlpath' => 'https://sso.local.dev.bitgrid.net/simplesaml/',
24+
'baseurlpath' => 'https://sso.local/simplesaml/',
2525
'certdir' => 'cert/',
2626
'loggingdir' => 'log/',
2727
'datadir' => 'data/',

docker/configs/var-simplesamlphp/metadata/saml20-sp-remote.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
$metadata['https://nextcloud.local.dev.bitgrid.net/index.php/apps/user_saml/saml/metadata'] = array (
3-
'entityid' => 'https://nextcloud.local.dev.bitgrid.net/index.php/apps/user_saml/saml/metadata',
2+
$metadata['https://nextcloud.local/index.php/apps/user_saml/saml/metadata'] = array (
3+
'entityid' => 'https://nextcloud.local/index.php/apps/user_saml/saml/metadata',
44
'contacts' =>
55
array (
66
),
@@ -11,7 +11,7 @@
1111
0 =>
1212
array (
1313
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
14-
'Location' => 'https://nextcloud.local.dev.bitgrid.net/index.php/apps/user_saml/saml/acs',
14+
'Location' => 'https://nextcloud.local/index.php/apps/user_saml/saml/acs',
1515
'index' => 1,
1616
),
1717
),
@@ -20,7 +20,7 @@
2020
0 =>
2121
array (
2222
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
23-
'Location' => 'https://nextcloud.local.dev.bitgrid.net/index.php/apps/user_saml/saml/sls',
23+
'Location' => 'https://nextcloud.local/index.php/apps/user_saml/saml/sls',
2424
),
2525
),
2626
'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified',
@@ -36,4 +36,4 @@
3636
),
3737
'validate.authnrequest' => false,
3838
'saml20.sign.assertion' => false,
39-
);
39+
);

docs/services/sso.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ docker compose up -d proxy nextcloud saml
1616
```
1717

1818
- uid mapping: `urn:oid:0.9.2342.19200300.100.1.1`
19-
- idp entity id: `https://sso.local.dev.bitgrid.net/simplesaml/saml2/idp/metadata.php`
20-
- Single Sign-On (SSO) service url: `https://sso.local.dev.bitgrid.net/simplesaml/saml2/idp/SSOService.php`
21-
- single log out service url: `https://sso.local.dev.bitgrid.net/simplesaml/saml2/idp/SingleLogoutService.php`
19+
- idp entity id: `https://sso.local/simplesaml/saml2/idp/metadata.php`
20+
- Single Sign-On (SSO) service url: `https://sso.local/simplesaml/saml2/idp/SSOService.php`
21+
- single log out service url: `https://sso.local/simplesaml/saml2/idp/SingleLogoutService.php`
2222
- use certificate from `docker/configs/var-simplesamlphp/cert/example.org.crt`
2323

2424
```

0 commit comments

Comments
 (0)