Authenticated flows
Authenticated flows allow a user to log in or sign up. This enables website agencies to easily provide login functionality to their existing websites. Users that are logged in no longer need to enter their e-mail address on checkout and they will have the possibility to update their details. Authentication can be enabled by setting parameter withauthentication
to yes
.
How does authentication work
Login
Users can either log in with their e-mail address and password or via their Facebook account (see below). They will either be redirected to the returnurl with the contactid as parameter or they will proceed to the next widget. Reset password integration is also included, the user will receive instruction via e-mail.
Signup
Users can either sign up with their e-mail address and password or via their Facebook account (see below). After sign up they will receive an e-mail containing a one-time pincode. After entering this pincode, they are successfully signed up and automatically logged in. They will either be redirected to the returnurl with the contactid as parameter or they will proceed to the next widget.
Setting up integration with Facebook
It is possible to allow users to log in and sign up using their Facebook account. To enable this create and configure a Facebook developer account and app-id.
Go to your Ticketmatic account and proceed to Settings > Account Parameters
. Enter the APP-ID under Authentication > Facebook
and click Save
. Ticketmatic will only use this account for authentication purposes. The user will need to authorize public_profile and email permissions.