grafana/pkg/api
Christian Segundo 707198227c
Auth: Log a more useful msg if no OAuth provider configured (#56722)
Log a useful msg if no oauth provider configured

When a user doesn't configure an OAuth provider and uses auto login, Grafana logs a misleading message indicating that he has multiple providers configured.
2022-12-20 14:35:43 +01:00
..
apierrors Chore: Fix status codes for nested folders (#59087) 2022-11-22 16:06:39 +02:00
avatar Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
datasource backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
dtos PublicDashboards: Time range setting added (#60487) 2022-12-19 17:38:37 +03:00
frontendlogging Performance: add preallocation for some slice/map (#57860) 2022-11-22 20:24:36 +08:00
pluginproxy Plugins: Forward user header (X-Grafana-User) in backend plugin requests (#58646) 2022-12-15 15:28:25 +01:00
response pkg/web: closure-style middlewares (#51238) 2022-08-09 14:58:50 +02:00
routing Instrumentation: Fix HTTP request instrumentation of authentication failures (#44234) 2022-02-02 18:48:46 +01:00
static API: Extract OpenAPI specification from source code using go-swagger (#40528) 2022-02-08 13:38:43 +01:00
accesscontrol.go DataSourcePermissions: Handle licensing properly for ds permissions (#59694) 2022-12-02 13:19:14 +01:00
admin_encryption.go manager exposes renderer + secrets manager (#54629) 2022-09-02 14:20:10 +02:00
admin_provisioning_test.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_provisioning.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
admin_test.go RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 2022-06-14 10:17:48 +02:00
admin_users_test.go Chore: Remove Store interface and use db.DB instead (#60160) 2022-12-13 11:03:36 +01:00
admin_users.go Login: Remove CreateUser from LoginService (#59464) 2022-11-29 10:20:44 +01:00
admin.go Chore: Move stats service into a standalone packge from sqlstore (#59574) 2022-11-30 18:11:07 +01:00
alerting.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
annotations_test.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
annotations.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
api.go Admin: Add support bundles (#60536) 2022-12-20 11:13:37 +01:00
apikey.go Chore: fix formating for swagger definitions (#54993) 2022-09-12 10:40:35 +03:00
basic_auth_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
basic_auth.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
comments.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
common_test.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard_permission_test.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard_permission.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard_snapshot_test.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard_snapshot.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard_test.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
dashboard.go PublicDashboards: Time range setting added (#60487) 2022-12-19 17:38:37 +03:00
dataproxy.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
datasources_test.go Access Control: Clear user's permission cache after resource creation (#59101) 2022-11-24 14:38:55 +00:00
datasources.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
fakes.go NavTree: Make it possible to configure where in nav tree plugins live (#55484) 2022-09-28 08:29:35 +02:00
folder_permission_test.go API: Support creating a nested folder (#58508) 2022-11-10 04:41:03 -05:00
folder_permission.go Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
folder_test.go Nested folders: Refactor folder update (#60323) 2022-12-20 15:00:33 +02:00
folder.go Nested folders: Refactor folder update (#60323) 2022-12-20 15:00:33 +02:00
frontend_logging_test.go Frontend logging: handle logging endpoints without expensive middleware (#54960) 2022-09-12 13:04:43 +03:00
frontend_logging.go Chore: Add deprecation warnings for Sentry (#60165) 2022-12-13 16:41:42 +02:00
frontend_metrics.go Chore: Report frontend metrics for JS/CSS load time (#42421) 2021-12-02 09:34:39 +01:00
frontendsettings_test.go OAuth: Refactor OAuth parameters handling to support obtaining refresh tokens for Google OAuth (#58782) 2022-11-18 10:12:17 +01:00
frontendsettings.go Auth: Add expiry date for service accounts access tokens (#58885) 2022-11-22 10:08:40 +01:00
grafana_com_proxy.go Instrumentation: Proxy status code correction and various improvements (#47473) 2022-04-11 13:17:08 +02:00
health_test.go Chore: Remove bus from health api (#44897) 2022-02-04 14:33:35 +01:00
health.go Chore: Remove Store interface and use db.DB instead (#60160) 2022-12-13 11:03:36 +01:00
http_server_test.go Plugins: Make backend plugin metrics endpoints available with optional authentication (#46467) 2022-03-29 11:18:26 +02:00
http_server.go k8s: Add a dev only feature flag and simple service to get a client (#60204) 2022-12-13 07:41:16 -08:00
index.go Internationalization: Change locale preference to language (#58359) 2022-11-22 12:18:34 +00:00
ldap_debug_test.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
ldap_debug.go Chore: Move SearchOrgs to org service (#55416) 2022-09-20 09:55:40 +02:00
login_oauth_test.go OAuth: Refactor OAuth parameters handling to support obtaining refresh tokens for Google OAuth (#58782) 2022-11-18 10:12:17 +01:00
login_oauth.go OAuth: Refactor OAuth parameters handling to support obtaining refresh tokens for Google OAuth (#58782) 2022-11-18 10:12:17 +01:00
login_test.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
login.go Auth: Log a more useful msg if no OAuth provider configured (#56722) 2022-12-20 14:35:43 +01:00
metrics_test.go Chore: Change fmt.Errorf to errors.New when there is no formatting required (#58600) 2022-12-01 20:51:12 +01:00
metrics.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
openapi3.go Implementing OpenApi 3 specs (converted from Swagger 2) (#53243) 2022-08-04 13:51:12 -03:00
org_invite_test.go SQLStore: Make addOrgUser private (#59142) 2022-11-22 17:02:39 +00:00
org_invite.go Backend: Consistently use context RemoteAddr function to determine remote address. (#60201) 2022-12-13 09:33:05 -05:00
org_test.go Chore: Reduce the usage of sqlstore.createorg and use orgservice instead (#59356) 2022-11-28 12:05:46 +01:00
org_users_test.go chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 2022-12-07 11:03:22 -05:00
org_users.go Auth: Display id Provider label in orgs/users view (#58033) 2022-11-29 15:20:28 +01:00
org.go Remove org methods from sqlstore interface (#56358) 2022-10-05 15:47:56 +02:00
password.go LoginAttempts: Reset attempts on successfull password reset (#59215) 2022-11-23 16:57:18 +01:00
playlist_play.go Chore: Change fmt.Errorf to errors.New when there is no formatting required (#58600) 2022-12-01 20:51:12 +01:00
playlist.go Playlist: update service so it supports both read+write (#55959) 2022-10-04 11:11:18 -04:00
plugin_dashboards_test.go Chore: Change fmt.Errorf to errors.New when there is no formatting required (#58600) 2022-12-01 20:51:12 +01:00
plugin_dashboards.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
plugin_metrics_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
plugin_metrics.go Plugins: Make backend plugin metrics endpoints available with optional authentication (#46467) 2022-03-29 11:18:26 +02:00
plugin_proxy_test.go Plugins: Handle app plugin proxy routes per request (#51835) 2022-08-23 13:05:31 +02:00
plugin_proxy.go Plugins: Handle app plugin proxy routes per request (#51835) 2022-08-23 13:05:31 +02:00
plugin_resource.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
plugins_test.go Plugins: Unexport PluginDir field from PluginDTO (#59190) 2022-12-02 13:46:55 +01:00
plugins.go Plugins: Unexport PluginDir field from PluginDTO (#59190) 2022-12-02 13:46:55 +01:00
preferences_test.go Chore: Reduce the usage of sqlstore.createorg and use orgservice instead (#59356) 2022-11-28 12:05:46 +01:00
preferences.go Internationalization: Change locale preference to language (#58359) 2022-11-22 12:18:34 +00:00
quota_test.go Chore: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00
quota.go Chore: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00
render.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
search_test.go RBAC: Enable rbac when creating new settings (#53531) 2022-08-11 15:37:31 +02:00
search.go Chore: fix formating for swagger definitions (#54993) 2022-09-12 10:40:35 +03:00
short_url_test.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
short_url.go Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 2022-08-11 13:28:55 +02:00
signup.go Backend: Consistently use context RemoteAddr function to determine remote address. (#60201) 2022-12-13 09:33:05 -05:00
stars.go Star: Add uid in the endpoint (#54340) 2022-10-05 22:32:49 +02:00
swagger_responses.go Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger_tags.json Chore: Move swagger definitions to the handlers (#52643) 2022-07-27 09:54:37 -04:00
swagger.go fix status code 200 (#47818) 2022-04-15 08:01:58 -04:00
team_members_test.go Chore: Remove Store interface and use db.DB instead (#60160) 2022-12-13 11:03:36 +01:00
team_members.go Chore: Switch over to team.Service instead of sqlstore (#55497) 2022-09-20 18:58:04 +02:00
team_test.go Access Control: Clear user's permission cache after resource creation (#59101) 2022-11-24 14:38:55 +00:00
team.go Access Control: Clear user's permission cache after resource creation (#59101) 2022-11-24 14:38:55 +00:00
user_test.go chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 2022-12-07 11:03:22 -05:00
user_token_test.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
user_token.go Auth: Refactor auth package (#58920) 2022-11-18 09:56:06 +01:00
user.go Fix: Email and username trimming and invitation validation (#58442) 2022-11-14 13:11:26 +01:00
utils.go Fix: Email and username trimming and invitation validation (#58442) 2022-11-14 13:11:26 +01:00