Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 736 Bytes

README.md

File metadata and controls

24 lines (22 loc) · 736 Bytes

simplesamlphp module for fbs

example configuration

/*
 * Pålogging på Google Apps for UKA
 */
$metadata['google.com/a/blindernuka.no'] = array(
  'AssertionConsumerService' => 'https://www.google.com/a/blindernuka.no/acs',
  'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
  'simplesaml.nameidattribute' => 'gapps-mail',
  'simplesaml.attributes' => false,
  'saml20.sign.assertion' => true,
  'authproc' => array(
    10 => array(
      'class' => 'fbs:UKAGoogleApps',
      'accounts_url' => 'https://foreningenbs.no/intern/api/googleapps/accounts',
      'accounts_url_auth_token' => 'secret-value-goes-here',
      'userfile' => dirname(__DIR__) . '/config/ukausers.txt'
    )
  )
);