The module currently supports only SWT 1.0 tokens. We need support for SAML 2.0 tokens.

What's needed:

  • Configuration option to select which token type to use (SWT or SAML).
  • Some SAML library to handle and validate incoming tokens (see if there's an existing solution that can be utilized here).
  • Refactoring of the return handler code (in azure_acs.pages.inc) and possibly some other pieces of code to handle multiple token types.