Staff Software Engineer - Authentication
BackendPosted 6 weeks agofrom TaskRabbit's own hiring page
- Work type
- HybridSan Francisco Bay Area
- Experience
- 8+ years
- Pay
- $160k–215k a year
- Posted
- 6 weeks ago
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
About Taskrabbit:
Taskrabbit is a marketplace platform that conveniently connects people with Taskers to handle everyday home to-do’s, such as furniture assembly, handyman work, moving help, and much more.
At Taskrabbit, we want to transform lives one task at a time. As a company we celebrate innovation, inclusion and hard work. Our culture is collaborative, pragmatic, and fast-paced. We’re looking for talented, entrepreneurially minded and data-driven people who also have a passion for helping people do what they love. Together with IKEA, we’re creating more opportunities for people to earn a consistent, meaningful income on their own terms by building lasting relationships with clients in communities around the world.
Taskrabbit is a hybrid company with employees distributed across the US and EU and a Built In — Best Places to Work (2022, 2023, 2024, 2025) continually ranked across multiple national and regional categories. Join us at Taskrabbit, where your work will be meaningful, your ideas valued, and your potential unleashed!
Prior to applying please note:
- This role is hybrid, requiring 2 days in office at our San Francisco hub every Tuesday & Wednesday (located at 130 Sutter St, San Francisco, CA).
About the Role:
The Core Services team is focused on building out shared capabilities and services that impact all other teams at Taskrabbit, and those services are used on almost every portion of our platform. We serve as the foundation that enables our engineering organization to stay on track, move faster, and build scalable, high-impact features.
In this role, you will work on the design and evolution of the shared platform capabilities that power our marketplace, such as authentication and identity, event-driven systems, and API infrastructure. As a Staff Engineer, you will help design, build, evolve, and maintain these foundational systems. Your technical decisions will have a direct and highly visible impact on engineering productivity, product velocity, and the overall experience of our marketplace! Join us in transforming lives, one task at a time.
What You'll Work On:
- Lead the architecture, integration, and adoption of shared platform capabilities (e.g., authentication and identity, event streaming, API infrastructure) across teams
- Design, build, and maintain robust, high-performance TypeScript-based APIs and foundational services
- Drive the design and adoption of event-based architectures that enable reliable, loosely coupled communication between services
- Own and evolve our authentication and authorization approach, including integration with third-party identity platforms and partner integrations
- Work closely with Ruby on Rails backend services and integrate shared capabilities into existing application infrastructure
- Propose and drive improvements to platform performance, reliability, security, and developer experience
- Partner with Engineering and Product leadership to define a unified technical strategy for shared services across Taskrabbit
Your core skills:
- 8+ years of experience developing modern APIs and distributed services
- Hands-on experience with authentication and identity platforms (e.g., Auth0, Okta, Cognito, or similar), including OAuth 2.0, OpenID Connect, and SSO
- Experience designing and operating event-based architectures (e.g., Kafka, SNS/SQS, EventBridge, or similar)
- Experience building and maintaining robust TypeScript-based APIs and services
- Exceptionally strong technical design and architecture skills with a focus on scalable shared capabilities
- Professional experience with AI-led agentic software development (e.g., Claude Code, Codex, Cursor, etc.)
- Experience with modern software development workflows, CI/CD pipelines, and containerized environments
- Strong written and verbal communication skills with the ability to articulate complex technical subjects clearly
- Proven track record of breaking down complex platform initiatives into manageable, high-impact iterations
Nice-to-have skills:
- Experience with cloud infrastructure (AWS), infrastructure as code, and container orchestration (Kubernetes)
- Comfortable with relational and key-value datastores (e.g., MySQL, Redis, Elasticsearch)
- Experience with Backend-for-Frontend (BFF) design patterns
- Experience with API gateways, rate limiting, and securing service-to-service communication
- Professional experience with Ruby on Rails, including working within and extending large, existing Rails applications
Compensation & Benefits:
At Taskrabbit, our approach to compensation is designed to be competitive, transparent, and equitable. Total compensation consists of base pay + bonus + benefits + perks. The base pay range for this position is $160,000 - $215,000. This range is representative of base pay only, and does not include any other total cash compensation amounts, such as company bonus or benefits. Final offer amounts may vary from the amounts listed above and will be determined by factors including, but not limited to, relevant experience, qualifications, geography, and level.
You’ll love working here because:
- Taskrabbit is a Hybrid Company. We value flexibility and choice but also stay committed to regular in-person connection.
- The People. You will be surrounded by some of the most talented, supportive, smart, and kind leaders and teams -- people you can be proud to work with!
- The Diverse Culture. We believe that we make better decisions when our workforce reflects the diversity of the communities in which we operate. Women make up half of our leadership team and our diversity representation is above that of the tech industry average.
- The Perks. Taskrabbit offers our employees with employer-paid health insurance and a 401k match with immediate vesting for our US based employees. We offer all of our global employees generous and flexible time off with 2 company-wide closure weeks, Taskrabbit product stipends, wellness + productivity + education stipends, IKEA discounts, reproductive health support, and more. Benefits vary by country of employment.
Taskrabbit’s commitment to Diversity and Inclusion:
An Active Commitment to Equity within our Company and Platform. We are an inclusive community where all who share our mission and values belong. Our diverse team represents the communities we serve, breaking down systemic barriers, and transforming lives- one action at a time.
Taskrabbit is an equal opportunity employer and values diversity at our company. We do not discriminate on the basis of race, religion, color, national origin, ancestry, citizenship, sex, gender, gender identity, sexual orientation, age, marital status, military/veteran status, or disability status. Taskrabbit is committed to working with and providing reasonable accommodation to applicants with physical and mental disabilities. Taskrabbit will consider for employment all qualified applicants with criminal histories in a manner consistent with applicable law.
AI-Assisted Prescreening Notice [US Based Candidates Only]: As part of our hiring process, we may use artificial intelligence tools to assist with the initial prescreening of applications and responses. This tool does not make hiring decisions — every application and response is reviewed by a member of our recruiting team to determine fit for the role. If you would prefer not to have your application processed using this tool, you may opt out by selecting 'opt out' in the application form or by emailing talentacquisition@taskrabbit.com, and your application will be reviewed manually with no impact on your candidacy.
Interested?Staff Software Engineer - Authentication at TaskRabbit
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Ruby on Rails, TypeScript, Ruby and 9 more
Interview questions for this job
For the skills the ad mentions: Ruby on Rails, TypeScript, Ruby, Docker, Kafka, CI/CD, AWS, Terraform, Kubernetes, MySQL, Redis and Elasticsearch.
raw vs. html_safe vs. h to unescape htmlRuby on Rails
Considering Rails 3:
html_safeactually "sets the string" as HTML Safe (it's a little more complicated than that, but it's basically it). This way, you can return HTML Safe strings from helpers or models at will.hcan only be used from within a controller or view, since it's from a helper. It will force the output to be escaped. It's not really deprecated, but you most likely won't use it anymore: the only usage is to "revert" anhtml_safedeclaration, pretty unusual.Prepending your expression with
rawis actually equivalent to callingto_schained withhtml_safeon it, but is declared on a helper, just likeh, so it can only be used on controllers and views."SafeBuffers and Rails 3.0" is a nice explanation on how the
SafeBuffers (the class that does thehtml_safemagic) work.From Stack Overflow: asked by grautur, answered by Fábio Batista (CC BY-SA 3.0)
What is the type of the 'children' prop?TypeScript
Just
children: React.ReactNode.From Stack Overflow: asked by Asool, answered by Ridd (CC BY-SA 4.0)
Why are exclamation marks used in Ruby methods?Ruby
In general, methods that end in
!indicate that the method will modify the object it's called on. Ruby calls these as "dangerous methods" because they change state that someone else might have a reference to. Here's a simple example for strings:foo = "A STRING" # a string called foo foo.downcase! # modifies foo itself puts foo # prints modified fooThis will output:
a stringIn the standard libraries, there are a lot of places you'll see pairs of similarly named methods, one with the
!and one without. The ones without are called "safe methods", and they return a copy of the original with changes applied to the copy, with the callee unchanged. Here's the same example without the!:foo = "A STRING" # a string called foo bar = foo.downcase # doesn't modify foo; returns a modified string puts foo # prints unchanged foo puts bar # prints newly created barThis outputs:
A STRING a stringKeep in mind this is just a convention, but a lot of Ruby classes follow it. It also helps you keep track of what's getting modified in your code.
From Stack Overflow: asked by Lennie, answered by Todd Gamblin (CC BY-SA 3.0)
Understanding Docker layersDocker
A docker image is actually a linked list of filesystem layers. Each instruction in a Dockerfile creates a filesystem layer that describes the differences in the filesystem before and after execution of the corresponding instruction. The
docker inspectsubcommand can be used on a docker image to reveal its nature of being a linked list of filesystem layers.The number of layers used in an image is important
- when pushing or pulling images, as it affects the number of concurrent uploads or downloads occuring.
- when starting a container, as the layers are combined together to produce the filesystem used in the container; the more layers are involved, the worse the performance is, but the different filesystem backends are affected differently by this.
This has several consequences for how images should be built. The first and most important advice I can give is:
Advice #1 Make sure that the build steps where your source code is involved comes as late as possible in the Dockerfile and are not tied to previous commands using a
&&or a;.The reason for this, is that all the previous steps will be cached and the corresponding layers will not need to be downloaded over and over again. This means faster builds and faster releases, which is probably what you want. Interestingly enough, it is surprisingly hard to make optimal use of the docker cache.
My second advice is less important but I find it very useful from a maintenance view point:
Advice #2 Do not write complex commands in the Dockerfile but rather use scripts that are to be copied and executed.
A Dockerfile following this advice would look like
COPY apt_setup.sh /root/ RUN sh -x /root/apt_setup.sh COPY install_pacakges.sh /root/ RUN sh -x /root/install_packages.shand so on. The advice of binding several commands with
&&has only a limited scope. It is much easier to write with scripts, where you can use functions, etc. to avoid redundancy or for documentation purposes.People interested by pre-processors and willing to avoid the small overhead caused by the
COPYsteps and are actually generating on-the-fly a Dockerfile where theCOPY apt_setup.sh /root/ RUN sh -x /root/apt_setup.shsequences are replaced by
RUN base64 --decode … | sh -xwhere the
…is the base64-encoded version ofapt_setup.sh.My third advice is for people who wants to limit the size and the number of layers at the possible cost of longer builds.
Advice #3 Use the
with-idiom to avoid files present in intermediary layers but not in the resulting filesystem.A file added by some docker instruction and removed by some later instruction is not present in the resulting filesystem but it is mentioned two times in the docker layers constituting the docker image in construction. Once, with name and full content in the layer resulting from the instruction adding it, and once as a deletion notice in the layer resulting from the instruction removing it.
For instance, assume we temporarily need a C compiler and some image and consider the
# !!! THIS DISPLAYS SOME PROBLEM --- DO NOT USE !!! RUN apt-get install -y gcc RUN gcc --version RUN apt-get --purge autoremove -y gcc(A more realistic example would build some software with the compiler instead of merely asserting its presence with the
--versionflag.)The Dockerfile snippet creates three layers, the first one contains the full gcc suite so that even if it is not present in the final filesystem the corresponding data is still part of the image in same manner and need to be downloaded, uploaded and unpacked whenever the final image is.
The
with-idiom is a common form in functional programming to isolate resource ownership and resource releasing from the logic using it. It is easy to transpose this idiom to shell-scripting, and we can rephrase the previous commands as the following script, to be used withCOPY & RUNas in Advice #2.Read the rest at the sourceFrom DevOps Stack Exchange: asked by alecxe, answered by Michaël Le Barbier (CC BY-SA 4.0)
Understanding Kafka Topics and PartitionsKafka
This post already has answers, but I am adding my view with a few pictures from Kafka Definitive Guide
Before answering the questions, let's look at an overview of producer components:
- When a producer is producing a message, it will specify the topic it wants to send the message to. Is that right? Does it care about partitions?
The producer will decide target partition to place any message, depending on:
- Partition id, if it's specified within the message
- key % num partitions, if no partition id is mentioned
- Round robin if neither partition id nor message key is available in the message means only the value is available
- When a subscriber is running - Does it specify its group id so that it can be part of a cluster of consumers of the same topic or several topics that this group of consumers is interested in?
You should always configure group.id unless you are using the simple assignment API and you don’t need to store offsets in Kafka. It will not be a part of any group. Source.
- Does each consumer group have a corresponding partition on the broker or does each consumer have one?
In one consumer group, each partition will be processed by one consumer only. These are the possible scenarios
If the number of consumers is less than the number of topic partitions, then multiple partitions can be assigned to one of the consumers in the group
If the number of consumers is the same as the number of topic partitions, then partition and consumer mapping can be like below,
If the number of consumers is higher than the number of topic partitions, then partition and consumer mapping can be as seen below, Not effective, check Consumer 5
- As the partitions created by the broker, therefore not a concern for the consumers?
Consumer should be aware of the number of partitions, as was discussed in question 3.
- Since this is a queue with an offset for each partition, is it the consumer's responsibility to specify which messages it wants to read? Does it need to save its state?
Kafka (to be specific Group Coordinator) takes care of the offset state by producing a message to an internal __consumer_offsets topic, this behavior can be configurable to manual as well by setting
enable.auto.committofalse. In that caseconsumer.commitSync()andconsumer.commitAsync()can help manage offset.More about Group Coordinator:
- It's one of the elected brokers in the cluster from Kafka server side.
- Consumers interact with the Group Coordinator for offset commits and fetch requests.
- Consumer sends periodic heartbeats to Group Coordinator.
- What happens when a message is deleted from the queue? - For example, The retention was for 3 hours, then the time passes, how is the offset being handled on both sides?
If any consumer starts after the retention period, messages will be consumed as per
auto.offset.resetconfiguration which could belatest/earliest. Technically, it'slatest(start processing new messages), because all the messages got expired by that time and retention is a topic-level configuration.more details here: https://mrsrinivas.github.io/posts/kafka-topics-and-partitions-explained/
From Stack Overflow: asked by Pinidbest, answered by mrsrinivas (CC BY-SA 4.0)
Have you ever failed at a task?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Software LeadClera, San Francisco Bay Area, on-siteToday
- Software Engineer, Consumer SubscriptionsSpaceX, San Francisco Bay Area, on-site2 days ago
- Zero Day EngineerCloudflare, New York, San Francisco Bay Area +2, hybrid2 days ago
- Ruby API Senior Developer (Remote Opportunity)VetsEZ, Remote in the USToday
More like this: Backend developer jobs in San Francisco Bay Area (201), Jobs in San Francisco Bay Area (9,193) and Backend developer jobs in the USA (630)



