2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: Duo Push Notifications
|
|
|
|
parent: Configuration
|
2021-08-02 11:55:30 +00:00
|
|
|
nav_order: 3
|
2020-02-29 00:43:59 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Duo Push Notifications
|
|
|
|
|
|
|
|
Authelia supports mobile push notifications relying on [Duo].
|
|
|
|
|
|
|
|
Follow the instructions in the dedicated [documentation](../features/2fa/push-notifications.md)
|
|
|
|
to know how to set up push notifications in Authelia.
|
|
|
|
|
2021-04-11 11:25:03 +00:00
|
|
|
**Note:** The configuration options in the following sections are noted as required. They are however only required when
|
|
|
|
you have this section defined. i.e. if you don't wish to use the [Duo] push notifications you can just not define this
|
|
|
|
section of the configuration.
|
|
|
|
|
2020-02-29 00:43:59 +00:00
|
|
|
## Configuration
|
|
|
|
|
|
|
|
The configuration is as follows:
|
2020-04-11 04:46:07 +00:00
|
|
|
```yaml
|
|
|
|
duo_api:
|
2022-04-15 23:34:26 +00:00
|
|
|
disable: false
|
2020-04-11 04:46:07 +00:00
|
|
|
hostname: api-123456789.example.com
|
|
|
|
integration_key: ABCDEF
|
|
|
|
secret_key: 1234567890abcdefghifjkl
|
2021-12-01 03:32:58 +00:00
|
|
|
enable_self_enrollment: false
|
2020-04-11 04:46:07 +00:00
|
|
|
```
|
2020-02-29 00:43:59 +00:00
|
|
|
|
2020-03-09 22:37:46 +00:00
|
|
|
The secret key is shown as an example, you also have the option to set it using an environment
|
2020-02-29 00:43:59 +00:00
|
|
|
variable as described [here](./secrets.md).
|
|
|
|
|
2021-04-11 11:25:03 +00:00
|
|
|
## Options
|
|
|
|
|
2022-04-15 23:34:26 +00:00
|
|
|
### disable:
|
|
|
|
<div markdown="1">
|
|
|
|
type: boolean
|
|
|
|
{: .label .label-config .label-purple }
|
|
|
|
default: false
|
|
|
|
{: .label .label-config .label-blue }
|
|
|
|
required: no
|
|
|
|
{: .label .label-config .label-green }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
Disables Duo. If the hostname, integration_key, and secret_key are all empty strings or undefined this is automatically
|
|
|
|
true.
|
|
|
|
|
2021-04-11 11:25:03 +00:00
|
|
|
### hostname
|
|
|
|
<div markdown="1">
|
|
|
|
type: string
|
|
|
|
{: .label .label-config .label-purple }
|
|
|
|
default: ""
|
|
|
|
{: .label .label-config .label-blue }
|
|
|
|
required: yes
|
|
|
|
{: .label .label-config .label-red }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
The [Duo] API hostname supplied by [Duo].
|
|
|
|
|
|
|
|
### integration_key
|
|
|
|
<div markdown="1">
|
|
|
|
type: string
|
|
|
|
{: .label .label-config .label-purple }
|
|
|
|
default: ""
|
|
|
|
{: .label .label-config .label-blue }
|
|
|
|
required: yes
|
|
|
|
{: .label .label-config .label-red }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
The non-secret [Duo] integration key. Similar to a client identifier.
|
|
|
|
|
|
|
|
### secret_key
|
|
|
|
<div markdown="1">
|
|
|
|
type: string
|
|
|
|
{: .label .label-config .label-purple }
|
|
|
|
default: ""
|
|
|
|
{: .label .label-config .label-blue }
|
|
|
|
required: yes
|
|
|
|
{: .label .label-config .label-red }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
The secret [Duo] key used to verify your application is valid.
|
|
|
|
|
2021-12-01 03:32:58 +00:00
|
|
|
### enable_self_enrollment
|
|
|
|
<div markdown="1">
|
|
|
|
type: boolean
|
|
|
|
{: .label .label-config .label-purple }
|
|
|
|
default: false
|
|
|
|
{: .label .label-config .label-blue }
|
|
|
|
required: no
|
|
|
|
{: .label .label-config .label-green }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
Enables [Duo] device self-enrollment from within the Authelia portal.
|
|
|
|
|
2021-04-11 11:25:03 +00:00
|
|
|
[Duo]: https://duo.com/
|