mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00

Secure contexts are a more robust way of checking that a browsing context is authenticated and confidential. Compared to comparing the scheme this covers cases where the connection is encrypted, but using a broken algorithm. Notably, localhost is considered a secure context, even over HTTP. For more detail on secure contexts, see: https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts