Hello there!

Need Help? We are right here!

miniOrange Email Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com

Search Results:


Authenticate PHP with JWT
miniOrange provides a ready to use solution for PHP application. Log in to your PHP application with any SAML IDP or any other social or enterprise credential store using JWT.

PHP Single Sign On with SAML IDP using JWT

Follow the Step-by-Step Guide given below to integrate your PHP app with SAML IDP using JWT.

Step 1: Set up an Identity Source in miniOrange

Step 2: Configure miniOrange as relying party in your SAML IDP

Step 3: Creating an external app in miniOrange

Step 4: Adding the response page

	if(isset($_GET['id_token'])) {
	  $id_token = $_GET['id_token'];
	  $id_array = explode(".", $id_token);
	  if(sizeof($id_array)==3) {
		$id_body = base64_decode($id_array[1]);
		$user_attributes = json_decode($id_body, true);
		if(isset($user_attributes['NameID'])) {
		  $expiry = $user_attributes['exp'];
		  if($expiry > time()) {
			$username = $email = $user_attributes['NameID'];
			echo $username;
			// Login user with email $email or $username
		  else {
			echo "Response expired. Try login again.";

Why Our Customers choose miniOrange Secure Identity Solutions ?

24/7 Support

miniOrange provides 24/7 support for all the Secure Identity Solutions. We ensure high quality support to meet your satisfaction.

Try Now

Affordable Pricing

miniorange provides most affordable Secure Identity Solutions for all type of use cases and offers different packages based on customer's requirement.

Request A Quote

We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at -

   +1 978 658 9387 (US)   ,   +91 97178 45846 (India)    |       info@xecurify.com