sgomez/simplesamlphp-module-openidsir

A SimpleSAMLphp filter for SIR OpenID attributes.

1.0.1 2016-02-28 06:45 UTC

This package is auto-updated.

Last update: 2024-03-27 17:22:42 UTC


README

This package adds a filter for SIR OpenID attributes through a SimpleSAMLphp module installable through Composer. Installation can be as easy as executing:

composer.phar require sgomez/simplesamlphp-module-openidsir ~1.0@dev

How to use

Add this to your IdP definition:

'authproc' => array(
    10 => 'openidsir:OpenID',
),

If your SIR OpenID is:

http://yo.rediris.es/soy/usuario@institucion.org/

You will receive this attributes:

"mail" => [
  0 => "usuario@institucion.org"
],
"uid" => [
  0 => "usuario"
],
"sHO" => [
  0 => "institucion.org"
]