Skip to content

Commit

Permalink
Merge pull request #87 from City-of-Helsinki/UHF-2662
Browse files Browse the repository at this point in the history
UHF-2662: Tunnistamo fixes
  • Loading branch information
tuutti authored Oct 6, 2021
2 parents d91def6 + 7357830 commit 6a0f804
Show file tree
Hide file tree
Showing 14 changed files with 98 additions and 76 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"drupal/helfi_platform_config": "^2.0",
"drupal/helfi_proxy": "^1.0",
"drupal/helfi_tpr": "^1.0",
"drupal/helfi_tunnistamo": "^1.0",
"drupal/raven": "^3.2",
"drupal/helfi_tunnistamo": "^2.0",
"drupal/purge": "~3.2.0",
"drupal/raven": "^3.2",
"drupal/varnish_purge": "^2.1",
"drush/drush": "^10.4"
},
Expand Down
102 changes: 78 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions conf/cmi/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module:
entity: 0
entity_reference_revisions: 0
entity_usage: 0
externalauth: 0
field: 0
field_group: 0
field_ui: 0
Expand Down
13 changes: 13 additions & 0 deletions conf/cmi/openid_connect.client.tunnistamo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
uuid: 4da7c800-b77c-44ec-ace0-d63f2c5472b0
langcode: en
status: true
dependencies:
module:
- helfi_tunnistamo
id: tunnistamo
label: Tunnistamo
plugin: tunnistamo
settings:
is_production: 0
client_id: placeholder
client_secret: placeholder
7 changes: 0 additions & 7 deletions conf/cmi/openid_connect.settings.facebook.yml

This file was deleted.

9 changes: 0 additions & 9 deletions conf/cmi/openid_connect.settings.generic.yml

This file was deleted.

6 changes: 0 additions & 6 deletions conf/cmi/openid_connect.settings.github.yml

This file was deleted.

6 changes: 0 additions & 6 deletions conf/cmi/openid_connect.settings.google.yml

This file was deleted.

6 changes: 0 additions & 6 deletions conf/cmi/openid_connect.settings.linkedin.yml

This file was deleted.

7 changes: 0 additions & 7 deletions conf/cmi/openid_connect.settings.okta.yml

This file was deleted.

8 changes: 0 additions & 8 deletions conf/cmi/openid_connect.settings.tunnistamo.yml

This file was deleted.

2 changes: 1 addition & 1 deletion conf/cmi/openid_connect.settings.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
always_save_userinfo: true
connect_existing_users: false
connect_existing_users: true
override_registration_settings: true
user_login_display: below
userinfo_mappings:
Expand Down
1 change: 1 addition & 0 deletions public/sites/default/production.settings.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php

$config['openid_connect.settings.tunnistamo']['settings']['is_production'] = TRUE;
$config['helfi_proxy.settings']['tunnistamo_return_url'] = '/fi/paatoksenteko-ja-hallinto/openid-connect/tunnistamo';
2 changes: 2 additions & 0 deletions public/sites/default/staging.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
'ru' => 'staging-administration',
];
$config['openid_connect.settings.tunnistamo']['settings']['is_production'] = TRUE;
$config['helfi_proxy.settings']['tunnistamo_return_url'] = '/fi/staging-paatoksenteko-ja-hallinto/openid-connect/tunnistamo';

0 comments on commit 6a0f804

Please sign in to comment.