How To Seamlessly Share AdonisJS Sessions & Authentication Across Subdomains

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.

Mar 05, 23
4m 23s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.


Burlington, KY

🕑 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

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!