Smart-ID

plugin banner

Allow your visitors to login to wordpress with Estonian ID-card and mobile-ID

Author:EID Easy OÜ (profile at wordpress.org)
WordPress version required:4.5
WordPress version tested:5.8.6
Plugin version:4.9.1
Added to WordPress repository:13-07-2016
Last updated:10-02-2023
Rating, %:100
Rated by:1
Plugin URI:https://eideasy.com/
Total downloads:5 159
Active installs:100+
plugin download
Click to start download

This plugin makes secure identification and creating Qualified Electronic Signatures using eID methods much easier than implementing these identification methods yourself. Supported methods among others are: Belgian eID card, Latvian Personas apliecība, Latvian eParaksts Mobile, Lithuanian Asmens tapatybės kortelė and M. parašas, Portugese Cartão de Cidadão, Estonian ID card + Mobile-ID, Smart-ID. Each method can be turned on and off individually.

Plugin implements eideasy.com Oauth 2.0 protocol like Facebook and Google login.

After plugin installation you need to register your site to activate your site and get the Oauth credentials. Also your e-mail needs to be verified.

Filters and actions

There are several filters for customizing the plugin behaviour using add_filter() WordPress function.
1. Filter “eideasy_login” enables customizing the page where user will be redirected after login completed.
2. Filter “eideasy_new_user_email” enabled setting user e-mail to something else that default idcode@local.localhost
3. Filters to customize login buttons look and feel are: “ee-id-card-login, ee-mobile-id-login, lv-id-card-login, lt-id-card-login, lt-mobile-id-login, pt-id-card-login, smart-id-login”
4. Action eideasy_user_created. Will be executed when new user has been created. Will get new user ID and user data as arguments.
5. Action eideasy_after_logged_in. Will be executed every time when user info has been received and just before setting login cookie. Gets user data and user ID as arguments.
6. Action eideasy_user_identified. Runs immediately after user data has been received and includes array of data returned by eID Easy.

Tips and tricks

Use shortcode [eid_easy] to get login button,
Use shortcode [contract id=”123ABC”] to create document signing page. Get the actual contract ID value from https://id.eideasy.com

Since WordPress needs user e-mail and e-mail for users is not part of the data received during identification then fake e-mail is created. Change the new user account e-mail with add_filter() and filter eideasy_new_user_email. By default email will be idcode@local.localhost

Support email: help@eideasy.com
Support phone +372 555 29 332


Screenshots
ChangeLog