grafana/pkg/setting
colin-stuart 6abe99efd6
Auth: Passwordless Login Option Using Magic Links (#95436)
* initial passwordless client

* passwordless login page

* Working basic e2e flow

* Add todo comments

* Improve the passwordless login flow

* improved passwordless login, backend for passwordless signup

* add expiration to emails

* update email templates & render username & name fields on signup

* improve email templates

* change login page text while awaiting passwordless code

* fix merge conflicts

* use claims.TypeUser

* add initial passwordless tests

* better error messages

* simplified error name

* remove completed TODOs

* linting & minor test improvements & rename passwordless routes

* more linting fixes

* move code generation to its own func, use locationService to get query params

* fix ampersand in email templates & use passwordless api routes in LoginCtrl

* txt emails more closely match html email copy

* move passwordless auth behind experimental feature toggle

* fix PasswordlessLogin property failing typecheck

* make update-workspace

* user correct placeholder

* Update emails/templates/passwordless_verify_existing_user.txt

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update emails/templates/passwordless_verify_existing_user.mjml

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update emails/templates/passwordless_verify_new_user.txt

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update emails/templates/passwordless_verify_new_user.txt

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update emails/templates/passwordless_verify_new_user.mjml

Co-authored-by: Dan Cech <dcech@grafana.com>

* use &amp; in email templates

* Update emails/templates/passwordless_verify_existing_user.txt

Co-authored-by: Dan Cech <dcech@grafana.com>

* remove IP address validation

* struct for passwordless settings

* revert go.work.sum changes

* mock locationService.getSearch in failing test

---------

Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-11-14 08:50:55 -05:00
..
settingtest SSO SAML: Remove SettingProvider settings from SSO interactions (#94900) 2024-10-21 11:28:55 +02:00
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders.go imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
provider.go SSO SAML: Remove SettingProvider settings from SSO interactions (#94900) 2024-10-21 11:28:55 +02:00
setting_auth_proxy.go AuthProxy: Allow disabling Auth Proxy cache (#83755) 2024-03-01 11:31:06 +01:00
setting_azure_test.go Azure: Fix for username assertion (#87853) 2024-05-16 11:50:02 -05:00
setting_azure.go MSSQL: Password auth for Azure AD (#89746) 2024-07-16 14:08:51 -05:00
setting_cloud_migration.go E2C: Reduce UI poll interval and make configurable (#91386) 2024-08-02 10:46:41 +01:00
setting_data_proxy.go Docs: Aligning fallback values with documentation (#83617) 2024-03-13 11:19:04 +02:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_featuremgmt.go Feature Toggles API: Trigger webhook call when updating (#75254) 2023-09-25 19:11:24 +01:00
setting_grafana_javascript_agent.go Frontend Monitoring: Set correct default value in Go file (#94976) 2024-10-18 17:52:46 +03:00
setting_jwt.go K8s: use contexthandler in standalone handler chain (#90102) 2024-07-08 12:22:10 -07:00
setting_passwordless_magic_link.go Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
setting_plugins_test.go Preinstall: Allow to extend default list (#96402) 2024-11-14 13:36:57 +01:00
setting_plugins.go Preinstall: Allow to extend default list (#96402) 2024-11-14 13:36:57 +01:00
setting_quota.go Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
setting_remote_cache.go RemoteCache: Refactor remote cache settings (#95672) 2024-11-04 17:35:31 +01:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy_test.go Plugins: Pass PDC file contents in requests (#84783) 2024-03-22 13:52:24 +01:00
setting_secure_socks_proxy.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp_test.go Config: Can add static headers to email messages (#79365) 2023-12-14 12:59:43 -06:00
setting_smtp.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Alerting: Disable legacy alerting for ever (#83651) 2024-03-07 16:01:11 -05:00
setting_unified_alerting_test.go Alerting: Make context deadline on AlertNG service startup configurable (#96053) 2024-11-07 18:23:55 +00:00
setting_unified_alerting.go Alerting: Make context deadline on AlertNG service startup configurable (#96053) 2024-11-07 18:23:55 +00:00
setting_unified_storage_test.go UniStore: Add config to enable periodic DualWriter DataSyncer (#93555) 2024-09-24 22:03:15 +03:00
setting_unified_storage.go Search PoC: Improves initial indexing speed. Makes params configurable. (#95439) 2024-10-29 12:24:31 -06:00
setting.go Auth: Passwordless Login Option Using Magic Links (#95436) 2024-11-14 08:50:55 -05:00
settings_rbac.go RBAC: Allow omitting default permissions when a new resource is created (#90720) 2024-07-24 19:31:26 +03:00
settings_zanzana.go Zanzana: Add config options for Check and ListObjects queries (#94619) 2024-10-14 14:44:47 +03:00