Big News! Split is now part of Harness. Learn more at Harness and read why we are excited by this move.

const jwt = require("jsonwebtoken");

const config = process.env;

const verifyToken = (req, res, next) => {
  const token =
    req.body.token || req.query.token || req.headers["x-access-token"];

  if (!token) {
    return res.status(403).send("A token is required for authentication");
  }

  try {
    req.user = jwt.verify(token, config.TOKEN_KEY);
  } catch (err) {
    return res.status(401).send("Invalid Token");
  }

  return next();
};

module.exports = verifyToken;

How Experian Increased Release Velocity x50

Experian is a multi-national consumer credit reporting company with a strong focus on putting their consumers first. Currently, they have employees across 44 different countries, diligently gathering and analyzing consumer data to help them improve their financial well-being. Experian leads the industry by creating a new way to improve and maintain affordable credit.

About Experian

Experian is a multi-national consumer credit reporting company with a strong focus on putting their consumers first. Currently, they have employees across 44 different countries, diligently gathering and analyzing consumer data to help them improve their financial well-being. Experian leads... Read more

USE CASES

Feature Flags, Feature Management

What problem did Experian need to solve?

Experian is on a multi-year journey to improve the financial health of consumers all over the world. With 3,000 employees working in product management and software engineering at the organization, cross-functional teams were relying heavily on one another to ensure their feature releases were safe and had little exposure to risk. As a result, they would coordinate large releases to happen all at once. This slowed down the process, leaving team members feeling stressed about their “big bang” releases that often occurred at the end of the day. Their goal was to implement small releases continuously throughout the workday. Before Split entered the picture, it was debilitating for teams to collaborate across multiple time zones at once.

Mirza Baig, VP Engineering, talks value of adopting feature management best practices and the ROI he has seen from empowering and enabling teams with Split. Get insights on how Mirza lead his team to skyrocket average releases from 2 to 100 per month!

“Split provides so much more than just a tool set change in that respect. You know, it sounds simple, feature toggles, but it’s transformative in nature. It’s transformative in terms of the teams, in terms of the culture that we adopt.”

Mirza Baig, Senior VP of Engineering

Switch It On With Split

The Split Feature Data Platform™ gives you the confidence to move fast without breaking things. Set up feature flags and safely deploy to production, controlling who sees which features and when. Connect every flag to contextual data, so you can know if your features are making things better or worse and act without hesitation. Effortlessly conduct feature experiments like A/B tests without slowing down. Whether you’re looking to increase your releases, to decrease your MTTR, or to ignite your dev team without burning them out–Split is both a feature management platform and partnership to revolutionize the way the work gets done. Schedule a demo to learn more.

Get Split Certified

Split Arcade includes product explainer videos, clickable product tutorials, manipulatable code examples, and interactive challenges.

Want to Dive Deeper?

We have a lot to explore that can help you understand feature flags. Learn more about benefits, use cases, and real world applications that you can try.

Create Impact With Everything You Build

We’re excited to accompany you on your journey as you build faster, release safer, and launch impactful products.