gateway banner

gateway

3 devlogs
9h 0m 25s

Self-hosted FIDO2/WebAuthn and authentication gateway for Caddy

Demo Repository

Loading README...

Kanashimo

Hello, this is my last devlog! Sooooo, how to say that… the WebAuthn works and setup too. But I threw out every other idea, because there’s no more time for that. I’m planning to add more features to this project later, some of them are

  • multiple users
  • access control
  • TOTP
    etc.

UI is simple but looks good to me. Sorry that I haven’t wrote any devlog for the last 4 hrs but I was locked in. Here is a quick showcase. Oh, and btw I published the whole project as a docker container on ghcr

0
Kanashimo

Hello, I just finished working on WebAuthn business logic and now I’m working on frontend. I’m using simplewebauthn library both for client and server. Being more precise, now I’m implementing the app setup page, so the first user can register and add the first passkey, and ofc one user can have multiple passkeys. Later on I’m going to add settings where you can manage your credentials and maybe I will add some sort of admin panel where you can invite new users, but I don’t know if I will have enough time, because the event ends in 7 hrs. Anyway, see you next devlog!

Attachment
0
Kanashimo

Hello, I have finished making boilerplate code, this project is my own clone of PocketID but with support for both, TOTPs and WebAuthn. I’m targeting Caddy because that’s my daily-driven http server and reverse proxy. I’m using Caddy’s forward_auth directive to pass every request via my gateway, so later on I can check the session cookie that contains all information about the user, more technically his id, name and public key. For this project I’m using Express with Prisma for the backend and React for the frontend.

Attachment
0