plugin / owc-gravityforms-digid
Add a DigiD login field to GravityForms
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:wordpress-plugin
pkg:composer/plugin/owc-gravityforms-digid
Requires
- php: ^8.0
- aura/session: ^4.0
- monolog/monolog: ^3.0
- owc/idp-userdata: ^1.0
- php-di/php-di: ^7.0
- symfony/http-foundation: ^6.0
- vlucas/phpdotenv: ^5.0
- yard/samlbase: ^1.7
Requires (Dev)
- 10up/wp_mock: 0.5.0
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: 1.5.*
- phpunit/phpunit: ~9.0
- szepeviktor/phpstan-wordpress: ^1.1
- dev-master
- v2.0.0
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4
- v1.3.2
- v1.3.1
- v1.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.19
- v1.0.18
- v1.0.17
- v1.0.16
- v1.0.15
- v1.0.14
- v1.0.13
- v1.0.12
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.0
- dev-dependabot/npm_and_yarn/npm-1afd25c2ca
- dev-feat/logger
- dev-chore/vendor-prefix
- dev-feat/custom-view
- dev-chore/upgrade-http-foundation
This package is auto-updated.
Last update: 2025-10-27 21:36:41 UTC
README
This plugin provides a GravityForms field to retrieve a BSN (social security) number from DigiD.
Local development
DigiD is only able to connect with valid PKi certificates, for local development you can fake a session by setting the below environment variable.
DIGID_FAKE_SESSION='012345678'
Logging
Enable logging to monitor errors during communication with DigiD. Make sure to set WP_DEBUG to true in your wp-config.php to enable logging. Be cautious: the generated log file is stored in the publicly accessible upload directoy and can include sensitive information.
- Logs are written daily to
gfdigid-log{-date}.jsonin the uploads directory. - A rotating file handler keeps up to 7 log files by default, deleting the oldest as needed.
- You can change the maximum number of log files using the filter described below.
Hooks
Change the maximum number of log files
Use the following filter to alter the rotating file handler's max files setting:
apply_filters('owc_gravityforms_digid_rotating_filer_handler_max_files', GF_DIGID_LOGGER_DEFAULT_MAX_FILES)
Intercept exceptions for custom handling
You can intercept exceptions caught by the plugin for additional processing or custom logging using this filter:
apply_filters('owc_gravityforms_digid_exception_intercept', $exception, $method)
The $exception parameter contains the caught exception object.
Creating a new release
- Update the version in
plugin.phpx2 (plugin version and metadata) - Ensure that
CHANGELOG.mdandRELEASE_NOTES.mdare updated with the latest changes - Draft a new release