Content
View differences
Updated by Adam Szabo almost 4 years ago
[Improve Documentation for](https://www.openproject.org/docs/system-admin-guide/authentication/two-factor-authentication/)
[https://www.openproject.org/docs/system-admin-guide/authentication/two-factor-authentication/](https://www.openproject.org/docs/system-admin-guide/authentication/two-factor-authentication/)
```text
OPENPROJECT_2FA_ACTIVE__STRATEGIES=[totp,message_bird]
OPENPROJECT_2FA_ALLOW__REMEMBER__FOR__DAYS=30
OPENPROJECT_2FA_MESSAGE__BIRD_APIKEY=...
```
Bahn: message bird
more strategies:
* TOTP (also 2fa app on mobile)
* SNS (SMS etc. via AWS) \[1\], MessageBird \[2\], REST DT \[3\].
\[1\] [https://aws.amazon.com/de/sns/?whats-new-cards.sort-by=item.additionalFields.postDateTime&whats-new-cards.sort-order=desc](https://aws.amazon.com/de/sns/?whats-new-cards.sort-by=item.additionalFields.postDateTime&whats-new-cards.sort-order=desc)
\[2\] [https://www.messagebird.com/en/](https://www.messagebird.com/en/)
\[3\] [https://github.com/opf/openproject/blob/dev/modules/two\_factor\_authentication/lib/open\_project/two\_factor\_authentication/token\_strategy/restdt.rb](https://github.com/opf/openproject/blob/dev/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/restdt.rb) - mehr finde ich dazu nicht als unsere Implementierung, kA was REST DT sein soll
configured with variables:
```text
OPENPROJECT_2FA_MESSAGE__BIRD_...
OPENPROJECT_2FA_TOTP_...
OPENPROJECT_2FA_RESTDT_...
OPENPROJECT_2FA_SNS_...
```
details only in the code [https://github.com/opf/openproject/tree/dev/modules/two\_factor\_authentication/lib/open\_project/two\_factor\_authentication/token\_strategy](https://github.com/opf/openproject/tree/dev/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy)
search for `params[:service_url]`
e.g RESTDT -> `OPENPROJECT_2FA_RESTDT_SERVICE__URL=`[`http://foo.bar.com/baz`](http://foo.bar.com/baz) (double underscore in `SERVICE__URL` )
was built by Oliver Guenther, clarify with him, could be documented deocumented also by a developer
[https://www.openproject.org/docs/system-admin-guide/authentication/two-factor-authentication/](https://www.openproject.org/docs/system-admin-guide/authentication/two-factor-authentication/)
```text
OPENPROJECT_2FA_ACTIVE__STRATEGIES=[totp,message_bird]
OPENPROJECT_2FA_ALLOW__REMEMBER__FOR__DAYS=30
OPENPROJECT_2FA_MESSAGE__BIRD_APIKEY=...
```
Bahn: message bird
more strategies:
* TOTP (also 2fa app on mobile)
* SNS (SMS etc. via AWS) \[1\], MessageBird \[2\], REST DT \[3\].
\[1\] [https://aws.amazon.com/de/sns/?whats-new-cards.sort-by=item.additionalFields.postDateTime&whats-new-cards.sort-order=desc](https://aws.amazon.com/de/sns/?whats-new-cards.sort-by=item.additionalFields.postDateTime&whats-new-cards.sort-order=desc)
\[2\] [https://www.messagebird.com/en/](https://www.messagebird.com/en/)
\[3\] [https://github.com/opf/openproject/blob/dev/modules/two\_factor\_authentication/lib/open\_project/two\_factor\_authentication/token\_strategy/restdt.rb](https://github.com/opf/openproject/blob/dev/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy/restdt.rb) - mehr finde ich dazu nicht als unsere Implementierung, kA was REST DT sein soll
configured with variables:
```text
OPENPROJECT_2FA_MESSAGE__BIRD_...
OPENPROJECT_2FA_TOTP_...
OPENPROJECT_2FA_RESTDT_...
OPENPROJECT_2FA_SNS_...
```
details only in the code [https://github.com/opf/openproject/tree/dev/modules/two\_factor\_authentication/lib/open\_project/two\_factor\_authentication/token\_strategy](https://github.com/opf/openproject/tree/dev/modules/two_factor_authentication/lib/open_project/two_factor_authentication/token_strategy)
search for `params[:service_url]`
e.g RESTDT -> `OPENPROJECT_2FA_RESTDT_SERVICE__URL=`[`http://foo.bar.com/baz`](http://foo.bar.com/baz) (double underscore in `SERVICE__URL` )
was built by Oliver Guenther, clarify with him, could be documented