privacyidea / adfs-provider

Authentication provider for Microsoft AD FS to use with privacyIDEA.
GNU Affero General Public License v3.0
20 stars 5 forks source link

Webauthn token not required after ADFS successful login #16

Closed shellandco closed 2 years ago

shellandco commented 2 years ago

Hello,

I'm currently testing PrivacyIdea and I want to validate the usage of webauthn token with our ADFS. First of all, I have configured the policies on PrivacyIdea to be able to enroll webauthn token. I have then successfully enroll a webauthn token for a specific user. On the adfs side, I have installed the latest package available here and I have configured the registry as shown below :

I have tested successfully a ADFS login + TOTP code

To be able to use webauthn token, I have tried :

Could you please help me on this issue ? Thank you in advance for your help

Regards

nilsbehlen commented 2 years ago

Hi, WebAuthn token are challenge-response type token, which means you have to trigger the challenge before you can be prompted for your token. Triggering can be done by sending an empty password with the username to privacyIDEA before the page loads. For this to have effect, the WebAuthn token must have a PIN which is also an empty string. Alternatively, you can use a service ("admin") account of privacyIDEA to trigger all challenges for a user, regardless of any token PINs. https://github.com/privacyidea/adfs-provider#configuration

shellandco commented 2 years ago

Hello,

That was the point I did not understand. It works fine following your advice. Many thanks for your quick answer !

PS : I have added the registry setting send_empty_pass > 1

Have a nice day