Close-up photo of a lock attached to a metal fence

All Svelte Workshops

Authentication for Svelte & SvelteKit

1 day Bookable for teams – on-site or remote

About this workshop

Most real-world applications provide some means for users to authenticate – either to get access to the application at all, or to get access to specific functionality or data within the application. Since authentication is a critical topic though, it's important to get it right. In this workshop, we cover everything one needs to know to implement authentication in Svelte and SvelteKit so that it's functional, secure, and maintainable.

Bookable for teams

1 day

On-site or remote

Book for your team

Syllabus

  1. The Basics of Authentication

    We'll start with a bit of theory, looking into what authentication is, what the options are to implement authentication in web apps and what the relevant security aspects are to keep in mind.
  2. The Demo Project

    We continue by setting up a demo project we'll be using throughout the workshop to set up a full authentication system.
  3. Username & Password

    We'll build basic authentiation via a username and password first as a simple and straight forward means for users to login.
  4. OAuth

    Next, we'll move to OAuth, which most real-world applications are likely to use. We'll look into the theory behind the approach and implement authentication via an OAuth provider in the demo project.
  5. Application Concerns

    We end by looking into application concerns around authentication like deciding whether a user is currently logged in, and rendering the according UI, seamlessly moving the authentication state between the browser and the server side of a SvelteKit application, or persisting the authentication state beyond refreshs.

Your mentor

Paolo is a huge nerd and Svelte maintainer. He's also one of the creators of sveltelab.dev - a REPL for SvelteKit.

Who we are

Our team is led by Paolo Ricciuti, Svelte maintainer and co-author of SvelteLab. Mainmatter is also the driving force behind the Svelte Custom Renderers initiative, an active contributor to a number of open source projects and co-organizer of Svelte Summit.

We help teams adopt and build on Svelte with confidence via trainings and workshops, hands-on team reinforcement, codebase assessments, and more.

We are trusted by startups and Fortune Global 500 companies

Bookable for teams

1 day

On-site or remote

Book for your team

Can't Find the Right Workshops for Your Team?

We are happy to tailor the curriculum to your needs. We can combine multiple workshops, pick and choose modules, as well as develop new content if desired.
Get in Touch

Book This Workshop

Our mentors look forward to working with your team and unlocking new capabilities.

Send us a message

Your message is being sent…

Unable to send message.

Please try again later or contact us at [email protected]

Thank you!

We will be in touch soon.

Authentication for Svelte & SvelteKit