Single Sign-on

Integration with web applications

Contents

Introduction

Argo allows external (web) applications to provide students direct access to the content. To do this, the external application should send the user name of the student, the desired content and a special time dependent access code to the Argo site. In this document example.electude.com is used as the sample Argo site.

The administrator of the site has to allow external access explicitly and enter a key (phrase). This key should be kept secret and is used to generate the access codes. This step is described in the section Administrator settings.

When a site allows direct access, Argo SSO can be implemented with a single HTTP request using the POST method. All data should be encoded in UTF-8. The fields in the data that are required, are described in the section Automatic login. Optional fields are described in the subsequent sections.

Administrator settings

All settings are made via the main menu 'Settings' and the submenu 'External access' by the Argo administrator:

  • Direct access: select 'Argo SSO'
  • Key: enter a text, as an example in this document: 'G#037dk1fa323'
    You can use this code to test the live sample. Important note: do not use this key in a production environment
  • New students: select 'Not allowed' or, when automatic creation of new accounts is desired, select the name of the group the new student account should become members of.
    For more information see the section Adding accounts automatically

Automatic login

To login automatically data (UTF-8 encode) should be send through the POST method to http://example.electude.com/launch. These fields are required:

  • content
    This field contains a reference to the desired content, e.g. 'lesson_50'.
    Valid values are 'lesson_X' (for a single module) or 'bundle_X' (for a series of modules arranged in a course). 'X' is a placeholder for a numerical value.
    This value corresponds with the last part of the URL the teacher sees in Argo. E.g. http://example.electude.com/lesson_50 is the information page of 'Kirchhoff's first law'.
    A complete and current list of modules can be downloaded in CSV format by the teacher by selecting 'Modules' in the main menu, 'All / new' in the submenu and clicking the 'all modules' link (http://example.electude.com/lessonall_1)
  • name
    User name of the student, e.g. 'john'.
    This user name is unique for every Argo site
  • check
    This is the access code formed by the SHA1 hash of this string: "name content date domain key".
    The fields in the string are separated by a whitespace character (ASCII 32). These additional fields are used:
    • date
      The current date formatted as 'YYYYMMDD', e.g.: '20080923'
    • domain
      The name of the host to which the data are posted, e.g.: 'example.electude.com'
    • key
      The key entered by the administrator: 'G#037dk1fa323'
    The access code should be the SHA1 hash of this string:
  • john lesson_50 20080923 example.electude.com G#037dk1fa323
    This is:
    04f6ba6f9226156176e552670b6a20aafabb9eb5

This HTML form generates the sample request:





Direct access to a module

The form above logs the student automatically in to his personal Argo environment. Optionally you can hide the environment and directly launch the module by adding an extra field:

  • direct
    When this field contains the value 1 and the requested content is a module, the module will be launched directly.
    This field is ignored when the requested content is not a module

This HTML form generates the sample request:






Adding accounts automatically

The procedure specified above, assumes the student account already exists.

The administrator of the Argo site can set the automatic creation of accounts. To do this, a group has to be defined where the new student accounts will be added.

When the administrator allows automatic creation of new accounts, extra fields have to be defined:

  • firstname
    This field contains the first name of the student
  • surname
    This field contains the surname of the student
  • email
    This field contains the valid email address of the student

This sample HTML form ensures a new account is created if the account does not exist yet:








If the account does not exist yet, the student is asked to enter a password. If the account does exist, nothing is done with the extra fields: e.g. you cannot change an email address of an existing account in Argo this way.

To suppress a password is asked when the account is created, an extra field can be added:

  • nopassword
    This field should contain the value '1'

When this field is set to '1', a random password is generated automatically. The student can only log in via SSO, since this password is not known to him. This line should be added to the form:

  
  

Overriding the default language

The student can select the language by himself. When the student account was created automatically, the default language of the site is used.

By adding an extra field, the default selected language will be ignored:

  • language
    This field contains the two letter ISO 639 code of a language. Use 'us' for American English

This HTML form generates the sample request:






Live example

A working example form can be requested on http://example.electude.com/sso_example.php (use your own domain instead of example.electude.com). In the sample the access code is generated for your domain and the current date. The other fields of the sample contain the values, like username and key, as used in this document.

Who we are

A team of true believers

Electude is a company on a clear mission to make vocational education more effective, accessible and fun.

What we do

Simulation based e-learning

Argo is Electude's e-learning solution. It is being used by students and professionals in over 30 countries in 5 continents.

Why Argo

Why are over 50 thousand students using Argo?

Argo is fun and clearly works which is why it is being used from Kuala Lumpur to Kansas City.

Available languages

From Chinese to Norwegian

At present Argo is being translated into over 20 languages, 10 of which are already complete.

FREE TRIAL

Sign up for free now!

Electude offers free trials for Argo. Just click on the button below to sign up for free. It takes less than one minute.

Teachers and Lecturers

Argo in the classroom

Argo is being used to great effect by teachers and lecturers around the world in very different ways.

Training institutes

Using Argo before, during & after training courses

Trainers have increased their effectiveness through the optimal usage of Argo.

Students and Trainees

Learning based on gaming

See how Argo has made learning fun by basing the lessons on gaming.

Electude in the news

Electude is an expanding business with regular news on new product releases, partnerships and other developments.

Upcoming events

Argo near you

Electude participates in key industry events all over the world. Everyone is welcome to meet members of our team or partners at these events.

Where to find us

The Electude and Partner offices

Our network of offices and partners allows us to provide direct contact and training to just about any customer in the world.

The Argo Top 20 Modules

See what is being used

Electude compiles a monthly list of the 20 most used modules so teachers and trainers can see what their colleagues are using.