gsislogin
INTRODUCTION
With this add-on you can log in through OAuth 2.0 from the Greek Goverment GSIS
site to authenticate the user.
If the user does not exist, then it gets created to the system; otherwise it
gets directly logged in.
The username of the user is the same as the userid returning from GSIS service.
In the service settings for the allowed url you must add the url of the gsis
e.g. https://www.example.com/gsis
INSTALLATION
- Install as you would normally install a contributed Drupal module. Visit:
https://drupal.org/documentation/install/modules-themes/modules-8
for further information.
Login and registration forms get an icon to log in through GSIS. Alternatively,
you can use the form in /gsis/login or direct route the user in your own way
to /gsis.
In order to store the items coming from the GSIS service, the module adds to the
user entity the following fields:
- field_gsis_userid - The username
- field_gsis_taxid - VAT number
- field_gsis_lastname - Surname
- field_gsis_firstname - The name
- field_gsis_mothername - Mother name
- field_gsis_fathername - The name Father
- field_gsis_birthyear - The Birth Time
CAUTION: In case of uninstallation these fields get deleted!
REQUIREMENTS
No special requirements
CONFIGURATION
Configure OAuth 2 id and key provided from GSIS service in Administration » Config » People » GSIS OAuth2 Login.
You must have the role administer site configuration to access this form.