Jan-Lukas Else

Tech, life and everything else

My first passkeys implementation 🔑

Published on in 💭 Thoughts
Short link: https://b.jlel.se/s/794
Share this post
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed.

Something I wanted to implement already for a long time, but always seemed too complicated for the occasional programming session here or there, was support for WebAuthn or Passkeys for GoBlog. I noted it down two years ago and also already started to work on the implementation, but never got around to finish it.

No more of waiting, today I did it! And it wasn’t actually that complicated. 😊

With help of the go-webauthn library and the implementation of Miniflux (which is also written in Go and uses the same library), it was manageable to do in a day.

Now I can log in with two simple clicks:

  1. Click on the login button,
  2. Confirm in Bitwarden, my password manager of choice, which can also save passkeys.

Implementing support for Passkeys probably took way longer than it will ever save me or all other GoBlog users time, but never stop learning, and I definitely learned some new things today!

Tags: ,

Jan-Lukas Else
Interactions & Comments