Download the PHP package itk-dev/os2forms_nemlogin_openid_connect without Composer
On this page you can find all versions of the php package itk-dev/os2forms_nemlogin_openid_connect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itk-dev/os2forms_nemlogin_openid_connect
More information about itk-dev/os2forms_nemlogin_openid_connect
Files in itk-dev/os2forms_nemlogin_openid_connect
Package os2forms_nemlogin_openid_connect
Short Description os2forms_nemlogin_openid_connect
License MIT
Homepage https://www.drupal.org/project/os2forms_nemlogin_openid_connect
Informations about the package os2forms_nemlogin_openid_connect
OS2Forms NemLogin OpenID Connect
Implements an OS2Web NemLog-in
AuthProvider
,
OpenIDConnect
, for
authenticating with OpenID Connect.
But allows for multiple of these to be defined eg. AD and NemLogin.
A controller,
OpenIDConnectController
, takes
care of the actual authenticating.
Installation
The module has a soft dependency on os2forms_organisation
in the sense that
the OrganisationEventSubscriber
only will be initialized if the
os2forms_organisation
module is installed. See the comments in
OrganisationEventSubscriber::getSubscribedEvents
.
Configuration
Go to /admin/os2forms_nemlogin_openid_connect/settings
to set up providers, eg.
and then go to /admin/config/system/os2web-nemlogin/«id»
to set up the OpenID
Connect configuration.
You should then see the provider having status OK
on
/admin/config/system/os2web-nemlogin
.
Use on a webform
Edit a webform, go to Settings > Third Party Settings > OS2Forms > OS2Forms NemID settings and specify “Webform type”:
Authentication settings
When “Webform type” is specified it’s possible to add an authentication check on the form by requiring the value of a field (pre-filled with a value from a previous submission) to match the value of a specified user property.
Before using authentication checks, “User claims” available for the checks must
be defined on /admin/config/system/os2web-nemlogin/«id»
.
Edit a webform, go to Settings > Third Party Settings > OS2Forms > OS2Forms NemID settings > Authentication settings and define which “User claim” value must match a “Form element” value:
Note: The authentication check sits on top of the other access checks in OS2Forms, i.e. it does not itself grant access, but adds additional requirements that must be fulfilled before a user can fill in a form.
Local test
Authenticating with local test users can be enabled in settings.local.php
:
All versions of os2forms_nemlogin_openid_connect with dependencies
itk-dev/drupal_psr6_cache Version ^1.0
os2forms/os2forms Version ^3.17
os2web/os2web_nemlogin Version ^1.2
drupal/webform Version ^6.0
symfony/options-resolver Version ^5.4 || ^6.0