We'll create fresh WordPress site with Login with Vipps installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Login with Vipps offers super-easy registration and login from the leading smart-payment app in Norway with more than 3.9 million users. There is no easier login. No more usernames or passwords. Vipps, and your customers are logged in.
The users need only remember their phone number. They are also able to provide information that websites often require, like e-mail, phone numbers and addresses, from their Vipps profile with no tedious data entry.
Logg in with Vipps is fully integrated into WordPress and WooCommerce and is free for both users and webshops. The plugin is easy to modify for your own applications.
This solution is great for all websites that wants to:
Login with Vipps is free for both websites and end users.
Allows login and registration on your account pages, cart, checkout and via shortcodes. Addresses automatically synchronized with Vipps on login.
Login with Vipps is the easiest way to create a new account. The user can easily share high-quality data from the user’s Vipps profile with the site owner. Available information includes name, email, address, phone number, and birth date. The identity of all Vipps users is verified using BankID, Norway’s leading electronic ID, so rest assured that these are real people with correct name and information. (Please note: Standard WordPress does not register information other than name and email, so apart from WooCommerce, you will need to write code to use this information for your particular application.)
Already registered users can link their current accounts when signing in with Vipps or from their account page. Users can choose to update their address information from Vipps.
You can use the framework of this plugin to implement other solutions that require verified users, without actually requiring login. For example, you might create a system for having users sign their comments with Vipps so as to avoid spam issues.
[login-with-vipps text="Log in with Vipps" application="wordpress"]
– This will print out a Login with Vipps button that will log you into the given application, which by default can be either WordPress or WooCommerce.[continue-with-vipps text="Continue with Vipps" application="wordpress"]
– This is the same, except for a different default textTo use ‘Continue with Vipps’ in your application, there are two levels of customizations available, except for a mass of filters and hooks.
Logging into basic WordPress and into an application like WooCommerce is different in the details, especially with regards to
* what page to redirect to (the profile page, or your account page, or maybe the checkout page),
* handling of user data (for WooCommerce you want to update the users’ address)
* and for error handling.
For your own application, you may well have other actions you want done after new user registration, logins etc. We aim to provide support for as many applications as possible in time, but to create your own, these are the main steps:
You may want to do other things than logging in with the users’ confirmed Vipps identity, and this plugin absolutely allows this. This might be submisssions of comments, reviews and so forth without requiring logins, or even just as a convenient way of letting users input their address.
These are the main steps:
ContinueWithVipps::getAuthRedirect($action)
(you can also provide an array of sessiondata which will be available in your handlers, and restrict the scope of the data to retrieve from Vipps. The return value is an URL to which you should redirect your user.The rest is a simple matter of programming.