Skip to content
Snippets Groups Projects

feat: Update slack endpoint routing + add sandbox to other URLs

10 files
+ 11
10
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -67,7 +67,7 @@ public class OAuthFilter implements ContainerRequestFilter {
// Prevent access if the action is related to user delete requests
// Prevent access if action is "authenticated user search" or "current user"
String path = requestContext.getUriInfo().getPath();
if (path.contains("user_delete_request") || path.equals("/account/profile/") || path.equals("/account/profile")) {
if (path.contains("user_delete_request") || path.equals("/sandbox/account/profile/") || path.equals("/sandbox/account/profile")) {
throw e;
}
}
Loading