egregors / passkey

🔑 Go library for implementing WebAuthn services 🗝️
MIT License
14 stars 3 forks source link

[BUG] Respect user.id | name | displayName in traditional auth flow #31

Closed egregors closed 1 day ago

egregors commented 3 months ago

refs:

Goal flow should be look like:

Than means in the next version I'll drop GetOrCreateUser(userID string) User from the UserStore interface and replace it more usual GetUser(userName string) *User

We can also add some UI to define displayName. But idk do we really need it in _example. Will see.

egregors commented 1 day ago

rel: #36