# SAML configuration with F5 IDP

**URL:** <https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [February 15, 2023, 9:23am UTC](https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779 "2023-02-15T09:23:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnaudboyer](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@arnaudboyer](https://forum.pritunl.com/u/arnaudboyer)\
**Post date:** [February 15, 2023, 9:23am UTC](https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779/1 "2023-02-15T09:23:58Z")

</div>

Hi,

I’m trying to use SAML authentification on pritunl, but i can’t manage. 2 weeks trying … I do a lot of idp on my F5, maybe 20 product using it.

I create a special IDP for this configuration, working perfectly with htps://sptes [t.iamshowcase.com/](http://t.iamshowcase.com/) (saml idp/sp test tool).

All the tutorial i found are based on cloud provider, okta etc.

I will pute the metadata of my IDP, can you tell me what to put in the pritunl configuration ? For now, when i try to log with SAML, i m correctly redirect to my IDP, AUTH OK, but then, no redirection to the Pritunl.

SAML IDP Metadata

entityID=“htps://saml [vpn.mobility-solutions.fr](http://vpn.mobility-solutions.fr)”\>

I can, t upload the xml files, and new user “can’t upload more than 2 links in a post …”

On the SP description, i put htps:// pritunlFQDN

On the pritunl conf 🙂

 ![image](https://forum-static.pritunl.com/original/1X/41ffe4b621715ae46fca291a8d391b8edde5a8af.png)

Regards

---

<div class="post-metadata">

**Author:** ![arnaudboyer](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@arnaudboyer](https://forum.pritunl.com/u/arnaudboyer)\
**Post date:** [February 16, 2023, 4:38pm UTC](https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779/2 "2023-02-16T16:38:16Z")

</div>

When i try with the post/redirect sso url, on SAML Sign-on URL, i got an saml error 8001.

![image](https://forum-static.pritunl.com/original/1X/692e74ca1d044fe1b74fa47ffff51b3bb5513a82.png)

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [February 16, 2023, 7:26pm UTC](https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779/3 "2023-02-16T19:26:07Z")

</div>

Documentation isn’t available for other SAML providers. It’s important to use a SAML provider with an API because this allows checks to occur at each VPN connection and in the newer releases every hour during a VPN connection to verify the state of the user. This would prevent and disconnect a user from Pritunl who has been removed or disabled from the single sign-on provider. All single sign-on providers supported by Pritunl have API integration. The generic SAML and Radius configurations do not have this functionality.

Using other SAML providers should only be done with [**single sign-on connection authentication**](https://docs.pritunl.com/docs/connection-authentication) which will provide some checks. But if this is used with authentication cache the user check would only occur when the authentication cache expires.

---

<div class="post-metadata">

**Author:** ![arnaudboyer](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@arnaudboyer](https://forum.pritunl.com/u/arnaudboyer)\
**Post date:** [February 17, 2023, 8:57am UTC](https://forum.pritunl.com/t/saml-configuration-with-f5-idp/779/4 "2023-02-17T08:57:23Z")

</div>

Hello Zach,

Yes i want to use single sign-on connection auth.

Can you help me ? 🙂 maybe doing a documentation to use F5 as saml idp ?

I think sending to you my idp.xml and my external sp configuration for pritunl and you will find the issue quick 🙂

Tell me Zach and i send this by mail ?

Best regards,  
Arnaud
