caddy-security icon indicating copy to clipboard operation
caddy-security copied to clipboard

question: Use yubikey with caddy

Open PeterB513 opened this issue 2 years ago β€’ 3 comments

I just want to use a yubikey to authenticate my login to a website using Caddy. Nothing more. don’t need the other stuff which is presented in the plugin, sorry. Basically I am looking for a small and simple implementation. Is this possible with your plugin and what is an example of code of the Caddyfile. Thanks.

PeterB513 avatar Mar 18 '22 19:03 PeterB513

@PeterB513 , thank you for the issue. I will try finding time answer your question this weekend.

We’re you able to set up auth with password and Yubico key? Do you have a working config?

greenpau avatar Mar 18 '22 20:03 greenpau

Yes that would be great. I would really appreciate if you can post Caddyfile example for this.

Thank you

mouzzampk2014 avatar Mar 27 '22 16:03 mouzzampk2014

Yes that would be great. I would really appreciate if you can post Caddyfile example for this.

@mouzzampk2014 , there is no special configuration for the use of Yubikey as a second factor. You just need to add it to your user profile. Please see Login with App Authenticator and Yubico U2F Video

This specific issue is about making U2F token the only authentication requirement.

greenpau avatar Apr 03 '22 14:04 greenpau