Skip to content

Commit

Permalink
Minor clarification to WEBAUTHN_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter authored Jan 19, 2023
1 parent e2af6a8 commit 2ed7cde
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,17 @@ return [
The _Relying Party_ is just a way to uniquely identify your application in the user device:

* `name`: The name of the application. Defaults to the application name.
* `id`: An unique ID the application, like the site domain. If `null`, the device may fill it internally, usually as the full domain.
* `id`: An unique ID the application, like the site URL. If `null`, the device _may_ fill it internally, usually as the full domain.

> WebAuthn authentication only work on the top domain it was registered.
Instead of modifying the config file, you should use the environment variables to set the name and ID for WebAuthn.

```dotenv
WEBAUTHN_NAME=SecureBank
WEBAUTHN_ID=https://auth.securebank.com
```

### Challenge configuration

```php
Expand Down

0 comments on commit 2ed7cde

Please sign in to comment.