Skip to content

adocasts/adonisjs6-web-and-api-auth-guards

Repository files navigation

Adocasts

How To Configure Web & API Authentication in an AdonisJS 6 Project

YouTube Badge Twitter Badge Twitch Badge

In this lesson, we'll learn how to install & configure web (using session) and api (using opaque access tokens) auth guards within an AdonisJS 6 project

🎯 We'll learn how to:

  • Run the auth configuration twice, keeping the needed changes from each guard
  • Configure both web & api guards and set a default
  • Authenticate a user with each guard
  • Omit CSRF on API routes

👉 Watch now on Adocasts!

About

In this lesson, we'll learn how to install & configure web (using session) and api (using opaque access tokens) auth guards within an AdonisJS 6 project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published