Pritunl integration with Keycloak

Hello, Pritunl community and developers! :slightly_smiling_face:

The enterprise version of Pritunl lists “Single Sign-On with SAML” as a feature.

There is no integration with Keycloak in the documentation from the available single sign-on points.

Do you plan to add this integration in the future?

Thanks :slightly_smiling_face:
Bohdan

Currently there isn’t any plans on adding support for Keycloak.

Thanks for you reply!

Hi. I wrote python script that acts as a middleware between Pritunl and Keycloak, performing real-time user status checks during VPN connection attempts. It ensures that:

  • Only users who exist in Keycloak and are not blocked are allowed to access the Pritunl VPN.
  • Users blocked with unverified email (optional check) are denied VPN access.

Github repo

Also, I made simple instruction for keycloak and pritunl integration here