The end of the logout endpoint code in lib/casserver/server.rb, there's the following if block:
if @gateway && @service
redirect @service, 303
elsif @continue_url
render @template_engine, :logout
else
render @template_engine, :login
end
The middle condition attempts to render a view that doesn't exist. Is this intentional? Are users expected to write a custom logout view? If not, would it make sense to redirect to @continue_url instead?