code: def logout_view(request):
      
      do_logout(request)
  
      app_redirects = {"collegerecs": "https://apps.tjhsst.edu/collegerecs/logout?ion_logout=1"}
      app = request.GET.get("app", "")
      if app and app in app_redirects:
          return redirect(app_redirects[app])
  
      return redirect("index")
docs: Clear the Kerberos cache and logout.