Skip to content

Commit

Permalink
Add installer example
Browse files Browse the repository at this point in the history
  • Loading branch information
Firehed committed Aug 8, 2023
1 parent 5abb983 commit b4a87ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Web Authentication for PHP
# Web Authentication (Passkeys) for PHP

A way to move beyond passwords

Expand All @@ -25,6 +25,12 @@ Application logic is kept to a bare minimum in order to highlight the most impor

### Setup

First, install the library:

```
composer require firehed/webauthn
```

Create a `RelyingParty` instance.
This **MUST** match the complete origin that users will interact with; e.g. `https://login.example.com:1337`.
The protocol is always required; the port must only be present if using a non-standard port and must be excluded for standard ports.
Expand Down

0 comments on commit b4a87ae

Please sign in to comment.