How We Built a Single Sign-In for the Sweet Georgia Travel Ecosystem
Imagine you’re planning a trip to Georgia. You read about a region on Sweet Georgia, check how to get there on Travel, and look for people to go with on Buddies. To you, it’s all part of the same trip. But if every site asks you to create another account, confirm your email, and come up with another password, by the third tab you might be ready to close them all.
We ran into this problem as our travel ecosystem grew to include several sites and apps. They had been built at different times, served different purposes, and ran on different domains. What we wanted for the traveler was simple: verify your account once and use it across the connected services. That’s what we built our shared authentication service, Auth, to do.
One person, several roles
A traveler can have more than one role. Today, they’re a passenger looking for a ride. Tomorrow, they might apply to drive. In another service, they might work as a guide or use it as a tourist. The ecosystem needs to recognize the same person each time, while each project decides what that person can do.
Take a driver application. Auth confirms the account, while Gedriver collects and reviews the application. The user can still use the passenger dashboard while the application is under review. Once they get access to the driver dashboard, they can switch between the two without registering again. The user keeps one account, and Gedriver keeps control of its own approval process.
That same distinction proved useful in Buddies. A Buddies profile has its own name, age, and country, all linked to the person’s shared account ID. Someone arriving from Sweet Georgia can sign in with their existing password and fill in the missing profile details. Favorites, meanwhile, use the shared ID, which lets us bring together items saved across different services.
What happens when you click “Sign up”
You fill in a form in the project you’re using. Auth creates a registration request, the project saves its part of the application, and then Auth emails you a code. Each project has its own name, branding, and sender address. The confirmation and password recovery pages are shared, and both the emails and the pages are available in Russian, English, and Georgian.
The order matters. If the project hasn’t saved the application, it’s too soon to send a confirmation email. If the connection drops while the form is being submitted, the user needs a way to try again. A retry picks up the same request so it doesn’t create a second account.
Delivery deserves its own check. A mail queue can accept a message while the person is still waiting for the code. When we test the flow end to end, we want to see the message in the inbox and follow the link ourselves.
These situations account for a surprising amount of the work. The happy path takes a minute to demonstrate. The real questions come up when someone enters an expired code, clicks twice, opens the email on another device, or comes back to the form after losing their connection. That’s where you find out whether the service is ready for everyday use.
Where security comes in
We centralized sign-in, account confirmation, password changes and recovery, and session management. Each project can check who’s signed in and get their shared account ID. The project then applies its own permissions. Signing in gets you into your account. Approving driver applications or managing someone else’s trips requires separate permission.
Email codes expire and can only be used once. Saved sessions also have a time limit. Signing out revokes the current session, and recovering a password ends the account’s previous Auth v2 sessions. If the connection drops, the system reports success only after the server confirms the operation. A registration request can be retried, and a session can be checked again when the connection returns.
Moving between domains is another detail users notice immediately. If you sign in on the main site and then open Travel or Community, you expect to be recognized. We designed that connection alongside sign-in so the same account can carry across the sites, with each site still responsible for checking the session and enforcing its own permissions.
How we tested it
We started with a shared test scenario and then ran it against the live service. We created a Sweet Georgia account, received the email, confirmed the account, signed in, changed the password, signed out, and recovered access through the page linked in the email. Then we took that Sweet Georgia account over to Buddies. Buddies recognized the same account ID, and no second account was created.
These runs uncovered problems we wouldn’t have seen by testing individual API calls. In one case, the recovery email arrived and the page opened, but the browser’s request to save the new password was rejected. The problem only showed up when we followed the whole journey, from the inbox to the button on the page. We fixed the form submission and checked that we could sign in with the new password. That’s why, before switching a project over, we test its actual forms, emails, sessions, and access to protected features.
For me, the result comes down to one ordinary action. A person signs up in one service, opens another, and carries on with the same account. They don’t have to think about where one site ends and the next begins. And when we connect another project, we have a process we can test all the way through, from the first email to the moment the user signs out.
We ran into this problem as our travel ecosystem grew to include several sites and apps. They had been built at different times, served different purposes, and ran on different domains. What we wanted for the traveler was simple: verify your account once and use it across the connected services. That’s what we built our shared authentication service, Auth, to do.
One person, several roles
A traveler can have more than one role. Today, they’re a passenger looking for a ride. Tomorrow, they might apply to drive. In another service, they might work as a guide or use it as a tourist. The ecosystem needs to recognize the same person each time, while each project decides what that person can do.
Take a driver application. Auth confirms the account, while Gedriver collects and reviews the application. The user can still use the passenger dashboard while the application is under review. Once they get access to the driver dashboard, they can switch between the two without registering again. The user keeps one account, and Gedriver keeps control of its own approval process.
That same distinction proved useful in Buddies. A Buddies profile has its own name, age, and country, all linked to the person’s shared account ID. Someone arriving from Sweet Georgia can sign in with their existing password and fill in the missing profile details. Favorites, meanwhile, use the shared ID, which lets us bring together items saved across different services.
What happens when you click “Sign up”
You fill in a form in the project you’re using. Auth creates a registration request, the project saves its part of the application, and then Auth emails you a code. Each project has its own name, branding, and sender address. The confirmation and password recovery pages are shared, and both the emails and the pages are available in Russian, English, and Georgian.
The order matters. If the project hasn’t saved the application, it’s too soon to send a confirmation email. If the connection drops while the form is being submitted, the user needs a way to try again. A retry picks up the same request so it doesn’t create a second account.
Delivery deserves its own check. A mail queue can accept a message while the person is still waiting for the code. When we test the flow end to end, we want to see the message in the inbox and follow the link ourselves.
These situations account for a surprising amount of the work. The happy path takes a minute to demonstrate. The real questions come up when someone enters an expired code, clicks twice, opens the email on another device, or comes back to the form after losing their connection. That’s where you find out whether the service is ready for everyday use.
Where security comes in
We centralized sign-in, account confirmation, password changes and recovery, and session management. Each project can check who’s signed in and get their shared account ID. The project then applies its own permissions. Signing in gets you into your account. Approving driver applications or managing someone else’s trips requires separate permission.
Email codes expire and can only be used once. Saved sessions also have a time limit. Signing out revokes the current session, and recovering a password ends the account’s previous Auth v2 sessions. If the connection drops, the system reports success only after the server confirms the operation. A registration request can be retried, and a session can be checked again when the connection returns.
Moving between domains is another detail users notice immediately. If you sign in on the main site and then open Travel or Community, you expect to be recognized. We designed that connection alongside sign-in so the same account can carry across the sites, with each site still responsible for checking the session and enforcing its own permissions.
How we tested it
We started with a shared test scenario and then ran it against the live service. We created a Sweet Georgia account, received the email, confirmed the account, signed in, changed the password, signed out, and recovered access through the page linked in the email. Then we took that Sweet Georgia account over to Buddies. Buddies recognized the same account ID, and no second account was created.
These runs uncovered problems we wouldn’t have seen by testing individual API calls. In one case, the recovery email arrived and the page opened, but the browser’s request to save the new password was rejected. The problem only showed up when we followed the whole journey, from the inbox to the button on the page. We fixed the form submission and checked that we could sign in with the new password. That’s why, before switching a project over, we test its actual forms, emails, sessions, and access to protected features.
For me, the result comes down to one ordinary action. A person signs up in one service, opens another, and carries on with the same account. They don’t have to think about where one site ends and the next begins. And when we connect another project, we have a process we can test all the way through, from the first email to the moment the user signs out.