Skip to content

snapauthapp/demo-web

Repository files navigation

SnapAuth Demo

This is a simple web app using SnapAuth to demonstrate the user experience and API calls.

Use this to get an idea of what the WebAuthn experience is like on various browsers and devices. You can use our Client SDK to hook into any UI you have. SnapAuth does not dictate your design - you can add it to your existing auth flows or create brand new ones.

There's no backend for this demo; the registration and sign-in processes ONLY use the SnapAuth APIs to save and use credentials. In a real app, the components would talk to your own backend, which then uses one of our Server SDKs.

Caution

This demo intentionally exposes the SnapAuth secret key so that it can be called by client code.

NEVER, EVER do this in a real website or application. You must ONLY use our server APIs from backend code.

This demo does not have a backend so you can see all of the network calls involved, including server APIs.

It uses React with TypeScript and Vite - but you can use SnapAuth with any web technologies!

License: BSD-3-Clause

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published