Unread Notifications

Latest Notifications

No Notifications

You're all set! Start a discussion by leaving a comment on a lesson or replying to an existing comment.

AdonisJS Quick Tip

How To Seamlessly Share AdonisJS Sessions & Authentication Across Subdomains

04:23 Watch
0:12 Read

In this lesson, we'll learn how one simple tweak to our AdonisJS project allows us to seamlessly share sessions and user authentication across multiple subdomains, as well as our application's primary domain.

Watch on YouTube
View Repository

🕑 Chapters

00:00 - Intro
00:15 - Default Behavior Example
00:42 - Adding Subdomain Route
02:00 - Inspection Adonis Session
02:38 - Adding Dot (.) Wildcard Session Cookie Prefix
03:30 - Testing Shared Session With Subdomain
03:54 - Outro


Prepared By

Tom Gobich

Burlington, KY

Owner of Adocasts, JavaScript developer, educator, PlayStation gamer, burrito eater.

Visit Website