Authorize custom applications running with the Kubespawner?

If you’ve written your own singleuser server you’ll need to implement authorisation yourself. See for example