Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Flask 3 and flask-kerberos

While attempting to uplift session_app in preparation for adding passkey authentication, I discovered that Flask 3 broke flask-kerberos which appears abandoned by upstream. It cannot load _request_ctx_stack which is gone now.

I searched the Internet for a little while, and came across add support to most recent Flask versions by PauloLuna · Pull Request #16 · deshaw/flask-kerberos which pulls from PauloLuna/flask-kerberos: Kerberos Authentication for Flask. So I'm at least the second person in the world using Flask and kerberos together!

So now I have to vendor flask-kerberos direclty in my app, which I can live with.

Comments