Minor clarification to WEBAUTHN_ID
This commit is contained in:
@@ -573,10 +573,17 @@ return [
|
|||||||
The _Relying Party_ is just a way to uniquely identify your application in the user device:
|
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.
|
* `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.
|
> 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
|
### Challenge configuration
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
|||||||
Reference in New Issue
Block a user