zdave / openconnect-gp-okta

OpenConnect wrapper which logs into a GlobalProtect gateway, authenticating with Okta
37 stars 27 forks source link

Add support for FIDO2 WebAuthn MFA #21

Closed ALescouet closed 4 months ago

ALescouet commented 1 year ago

Add Okta FIDO2 WebAuthn workflow as a possible second factor using the fido2 python library.

Use --factor-priority webauthn to change this new factor priority.

Signed-off-by: Alexis Lescouet alexis@lescouet.com

ALescouet commented 1 year ago

@zdave What are your thoughts on this PR? I couldn't test with other hardware tokens but it works with the Yubikey 5, I also own an older yubikey 4 that I could test with if you feel that is needed.

zdave commented 1 year ago

I don't have access to a GlobalProtect+Okta VPN any more, so I can't really test anything. I'd be happy to submit this if it's working for you though. A few comments:

ALescouet commented 1 year ago

@zdave Thank you for reviewing this PR. I think I addressed all your comments, please tell me if anything else needs modifying.