Test cases

This is a Drupal 7 demo site for use with MYDIGIPASS.COM.

You are welcome to create as many accounts as necessary and link them to your MYDIGIPASS.COM sandbox accounts.

Tip

  • Accounts on this website can only be linked to the MYDIGIPASS.COM sandbox environment. It is not possible to link accounts to the MYDIGIPASS.COM production environment.
  • We recommend that you test the following scenarios. In these scenarios, we assume that users already have a MYDIGIPASS.COM sandbox account.

Scenario 1: Securing your Drupal account with MYDIGIPASS.COM

  1. Create a new Drupal account by following the normal Drupal registration process.
  2. Log in with the new account.
  3. Navigate to your profile on http://mydigipass.drupal.vanstechelman.com/
  4. Edit your profile and click on "Connect with MYDIGIPASS.COM". You will be requested to log in to MYDIGIPASS.COM at this point. Make sure your pop-up blocker allows pop-ups from the MYDIGIPASS.COM website.
  5. The first time you log in, you will be prompted to share your profile information with the Drupal demo site. Select the information you wish to share. You will be redirected to the callback URI specified on MYDIGIPASS.COM.
  6. The callback URI will detect that you have been authenticated and that you want to secure your Drupal account with your MYDIGIPASS.COM account. At this point, you will be redirected to your profile page where you will be informed about which MYDIGIPASS.COM account has been linked to your Drupal account.
  7. Test the login procedure. Log out of Drupal by navigating to http://mydigipass.drupal.vanstechelman.com/user/logout and use the MYDIGIPASS.COM login button to log in to our Drupal demo site.

Note

Once you secure your Drupal account with MYDIGIPASS.COM, you will no longer be allowed to log in locally (i.e. with your Drupal credentials) if the MYDIGIPASS authentication mode of this site has been configured as "MYDIGIPASS.COM only". You can check and modify this setting on this page: http://mydigipass.drupal.vanstechelman.com/mydigipass/demosite

To complete this test, unlink your Drupal account from your MYDIGIPASS.COM account. This is required to test the remaining scenarios. To unlink
your account, you must be logged in to this demo site. Go to your profile page on http://mydigipass.drupal.vanstechelman.com/user, click on edit and then the unlink button. You will be notified that your account has been unlinked and that you can no longer log in to this site with MYDIGIPASS.COM.

Scenario 2: Signing up for Drupal with a MYDIGIPASS.COM account

In this case we explain how a new user can sign up for Drupal with his/her MYDIGIPASS.COM account. The advantage is that you don’t need to remember yet another set of credentials.

1st scenario

Go to the landing page of this website. Click on the MYDIGIPASS.COM sandbox login button on the left. You will be redirected to an account creation wizard:

  1. Select the first option, i.e. I don’t have a user account yet on this website and click on continue.
  2. Complete the form to create a new Drupal account (required). The username and e-mail address will appear automatically. Before continuing, make sure the e-mail address is different from the one used in the previous use case (the e-mail address really doesn’t matter).
  3. A new account will be created and you will be automatically logged in to our Drupal demo site.

To complete this test, unlink your Drupal account from your MYDIGIPASS.COM account. This is required to test the other scenarios. To unlink your account, you must be logged in to this demo site. Go to your profile page on http://mydigipass.drupal.vanstechelman.com/user, click on edit and then the unlink button. You will be notified that your account has been unlinked and that you can no longer log in to this site with MYDIGIPASS.COM.

2nd scenario

Go to the landing page of this website and create new account. Instead of using the standard Drupal registration form, click on "Sign up with MYDIGIPASS.COM". You will be redirected to the same registration form shown in step 2 of the previous scenario. The remaining steps are identical.

Scenario 3: Linking your Drupal account to MYDIGIPASS.COM

In this case, the user already has a Drupal and MYDIGIPASS.COM account, but they aren’t linked.

Go to the landing page of this website. Click on the MYDIGIPASS.COM sandbox login button on the left. After logging in, you will be redirected to a wizard which allows you to link your MYDIGIPASS.COM account to your Drupal account.

  1. Select the second option, i.e. "I already have a user account on this website" and continue.
  2. This will take you to a page similar to the Drupal login screen. Enter your Drupal credentials and click on "Link to account".
  3. If the credentials are correct, you will be logged in to Drupal and your account will be linked to your MYDIGIPASS.COM account.

Note

Once you secure your Drupal account with MYDIGIPASS.COM, you will no longer be allowed to log in locally (i.e. with your Drupal credentials) if the MYDIGIPASS
authentication mode of this site has been configured as "MYDIGIPASS.COM
only". You can check and modify this setting on this page:
http://mydigipass.drupal.vanstechelman.com/mydigipass/demosite

To complete this test, unlink your Drupal account from your MYDIGIPASS.COM account. This is required to (re)test the other scenarios. To unlink your
account, you must be logged in to this demo site. Go to your profile page on http://mydigipass.drupal.vanstechelman.com/user, click on edit and then the unlink button. You will be notified that your account has been unlinked and that you can no longer log in to this site with MYDIGIPASS.COM.

The test scenarios above are typical cases encountered by most end-users. However, other cases do exist:

  • Your website may be configured so that visitors can create accounts, but only with an administrator’s approval. As a result, the execution of cases 1 and 2 would be slightly different. Visitors would be allowed to create a new account and link it to their MYDIGIPASS.COM account, but to log in to the website with MYDIGIPASS.COM, the website administrator would first have to approve the request.
  • Your website may be configured so that visitors are not allowed to create accounts. As a result, the registration forms would not be shown to the visitor (cases 1 and 2). A visitor would not be able to create an account or be able to link his/her MYDIGIPASS.COM account to a new Drupal account. (S)he would only be able to link an existing account to MYDIGIPASS.COM.
  • You may want users to preserve the ability to log in locally after their account has been secured with MYDIGIPASS.COM. In that case, change the authentication mode from "MYDIGIPASS.COM only" to "Mixed mode" under "Account settings".