About
FoodMarketHub is an enterprise B2B marketplace that helps restaurants manage their inventory by connecting them with suppliers. They have a large presence in Southeast Asia, including Singapore, Malaysia, Thailand, Vietnam, Indonesia and the Philippines. Their customers include some of the world’s largest food chains (e.g. KFC) with thousands of outlets and tens of thousands of service staff that use the platform every day.
Yogesh, who manages FoodMarketHub’s backend team and has over 10 years of software development experience, was responsible for FoodMarketHub’s authentication infrastructure.
Before SuperTokens
When Yogesh and his team first implemented their authentication using Auth0, they found it slow when trying to configure the authentication UI. And with their API implemented in Hasura, adding user metadata and role management into their tokens meant using Auth0’s pre and post hooks. This process also required uploading code manually into the Auth0 dashboard - certainly possible but cumbersome.
While many auth features were already built in their native codebase, FoodMarketHub still wanted a trusted 3rd party to avoid rolling an entire auth implementation from scratch. After searching for a new solution, they found SuperTokens - which had the customization necessary for a smooth UI and token metadata, with the added ability to play well with their role management logic.
Implementation
Using SuperTokens, Yogesh was able to move from evaluation to full production in 2-3 days. Before, the FoodMarketHub team had to manually upload code to Auth0.
Now, all their custom logic integrates with SuperTokens natively within their codebase, without any restrictions on number and types of customization. SuperTokens also allowed them to sync SuperTokens user tables with their own database for more flexibility.
Yogesh opted for a passwordless setup out of the box from SuperTokens to cater to the mobile-heavy SEA market.
To watch entire case study discussion video please
click here.