Categorygithub.com/lstoll/webauthn-oidc-idp
modulepackage
0.0.0-20240324164950-a562d20a377e
Repository: https://github.com/lstoll/webauthn-oidc-idp.git
Documentation: pkg.go.dev

# README

idp

note: this is very much experimental softawre. it is probably not stable nor secure. don't use it!

See Issues for the closest thign we have to a roadmap.

Registering an initial user

export ENCRYPTION_KEY="$(openssl rand -hex 32)"
go run ./ --enroll --email=user@domain --fullname="Users Name"
# go to the url output
go run ./ --activate --user-id=<uuid>

Run the server

go run ./ --http 127.0.0.1:8085
# test the auth flow:
go run github.com/lstoll/oidc/cmd/oidc-example-rp@latest

# Functions

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AuthenticatedUser are the details flagged for an authenticated user of the system.
DB is the IDP database.
DBKeyset represents a rotating keyset in the database.
No description provided by the author
KeysetHandles can retrieve handles for the given keyset from the DB.
No description provided by the author
User implements webauthn.User.
WebauthnCredential wraps the webauthn.Credential with some more metadata.