Good morning.
I have simplesaml setup as AuthProc
My config is this
39 => array(
'class' => 'privacyidea:PrivacyideaAuthProc',
'privacyideaServerURL' => 'https://privacyideaserver',
'realm' => 'realm',
'uidKey' => 'sAMAccountName',
'sslverifyhost' => false,
'sslverifypeer' => false,
'serviceAccount' => 'idp',
'servicePass' => '**********',
'SSO' => 'true',
'otpFieldHint' => 'Codigo de Segurança Adicional!',
'doEnrollToken' => 'true',
'typeOfTokenToEnroll' => 'totp',
),
The authetication is working fine, but if i make ‘doEnrollToken’ => ‘true’, the user is pro,pted to enroll a toke every time it logins, creating a infinty number of tokens.
If i read it correctly, that should only happen if the user doesnt have a toke already .
What i’m i doing wrong ?
Sory for my English, it’s not my native language