From 951309f76aab22e3742e8872bf0642fcea2570ae Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sat, 19 May 2018 16:12:37 +0200 Subject: Add support for FIDO U2F (#3971) * Add support for U2F Signed-off-by: Jonas Franz * Add vendor library Add missing translations Signed-off-by: Jonas Franz * Minor improvements Signed-off-by: Jonas Franz * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz * Add U2F login page to OAuth Signed-off-by: Jonas Franz * Move U2F user settings to a separate file Signed-off-by: Jonas Franz * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz * Fix problems caused by refactoring Signed-off-by: Jonas Franz * Add U2F documentation Signed-off-by: Jonas Franz * Remove not needed console.log-s Signed-off-by: Jonas Franz * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz --- docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 ++++ docs/content/doc/features/comparison.en-us.md | 9 +++++++++ 2 files changed, 13 insertions(+) (limited to 'docs/content') diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 2a245ffd00..53c4639eb0 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -272,6 +272,10 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `MAX_GIT_DIFF_FILES`: **100**: Max number of files shown in diff view. - `GC_ARGS`: **\**: Arguments for command `git gc`, e.g. `--aggressive --auto`. +## U2F (`U2F`) +- `APP_ID`: **`ROOT_URL`**: Declares the facet of the application. Requires HTTPS. +- `TRUSTED_FACETS`: List of additional facets which are trusted. This is not support by all browsers. + ## Markup (`markup`) Gitea can support Markup using external tools. The example below will add a markup named `asciidoc`. diff --git a/docs/content/doc/features/comparison.en-us.md b/docs/content/doc/features/comparison.en-us.md index db0d3b5553..75553a89cd 100644 --- a/docs/content/doc/features/comparison.en-us.md +++ b/docs/content/doc/features/comparison.en-us.md @@ -535,6 +535,15 @@ _Symbols used in table:_ ✓ ✓ + + FIDO U2F (2FA) + ✓ + ✘ + ✓ + ✓ + ✓ + ✓ + Webhook support ✓ -- cgit v1.2.3