fix: Return deprecation error when using WebRTC endpoint (#4130)

Fixes #4126.
This commit is contained in:
Kyle Carberry
2022-09-20 09:56:19 -05:00
committed by GitHub
parent 2ca7214259
commit 3618b098cb
2 changed files with 10 additions and 0 deletions

View File

@ -44,6 +44,8 @@ func AGPLRoutes(a *AuthTester) (map[string]string, map[string]RouteCheck) {
"POST:/api/v2/users/login": {NoAuthorize: true},
"GET:/api/v2/users/authmethods": {NoAuthorize: true},
"POST:/api/v2/csp/reports": {NoAuthorize: true},
// This is a dummy endpoint for compatibility.
"GET:/api/v2/workspaceagents/{workspaceagent}/dial": {NoAuthorize: true},
// Has it's own auth
"GET:/api/v2/users/oauth2/github/callback": {NoAuthorize: true},