This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Both features are implemented, although it should be determined if personal_code scope is required or not. It might also be possible to require personal code and not the strong session.
- Loading branch information
1 parent
53aeeff
commit 51422e3
Showing
5 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ enabled: false | |
settings: | ||
client_id: | ||
client_secret: | ||
require_strong_session: false | ||
use_test_idp: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Contains openid_connect_harid.install. | ||
*/ | ||
|
||
/** | ||
* Add require_strong_session and use_test_idp to HarID config. | ||
*/ | ||
function openid_connect_harid_update_8101() { | ||
$config = \Drupal::configFactory()->getEditable('openid_connect.settings.harid'); | ||
$settings = $config->get('settings'); | ||
$settings['require_strong_session'] = FALSE; | ||
$settings['use_test_idp'] = FALSE; | ||
$config->set('settings', $settings); | ||
$config->save(TRUE); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters