Recently Released.

Newly Released in the last 30 days
Adocasts Plus Exclusive
Exclusive
Listing Access Tokens

Listing an Organization's Access Tokens

In this lesson, we'll query all of our organization's access tokens and filter out any tokens that are expired. Then, we'll list the organization's tokens showing it's name, abilities, when it was created, and when it was last used.

OAT vs JWT

Opaque Access Tokens (OAT) vs JSON Web Tokens (JWT)

In this lesson, we'll take a step back to understand the differences between the tokens we're using, which are Opaque Access Tokens (OAT), and JSON Web Tokens (JWT). We'll discuss security, scalability, and what makes up each token.

Creating Access Tokens Part 2: VueJS

Creating Access Tokens Part 2: Inertia/Vue

In this lesson, we'll rig up the create access token route we created in the last lesson to a form within our Vue application. We'll also stub the overall manage access tokens card for the organization itself.

Creating Access Tokens Part 1: AdonisJS

Creating Access Tokens Part 1: AdonisJS

In this lesson, we'll add a route to the settings portion of our application allowing the user to create an opaque access token (OAT), with the desired permissions, for the active organization.

Access Token Abilities

Defining Access Token Abilities & DTO

In this lesson, we'll finish up our preparation work by creating a data transfer object (DTO) for our access tokens. Then, we'll define what our token abilities will be within our application's API.

Separation of Concerns

Separation of API & Web Auth Guard Concerns

In this lesson, we'll restrict our routes to their applicable authentication guard. Ensuring our web routes can properly authorize using their role-based authorization and our API can properly authorize using our access token abilities.

Configuring Api Authentication

Configuring Access Token Auth on top of Session Auth

In this lesson, we'll get opaque access tokens configured within our AdonisJS application on top of the already configured session/web authentication. This will include configuring the guard and setting up the db access token provider.

Overview of our Database Schema

In this lesson, we'll take a high level look at our database's schema so that we have an understanding at the entities and models at play and how they relate to one another within our application.

Getting Familiar with our Web Project

Getting Familiar with our Web Project

In this lesson, we'll quickly walk through the web application we've cloned down to get familiar with the data at play, how it's presented to the user, and the features at hand.

Getting Up and Running

Getting the Web Project Up & Running

We'll get our web project cloned down. Then, we'll get it configured by first creating our database and running our migrations and seeder. Lastly, we'll get a test SMTP email inbox set up through MailTrap.

Goal of this Series

Goal of this Series

We'll cover the scope of this series and show some of the functionalities we'll be building throughout, which include an access token management panel, opaque access token authentication using an organization model, and building an API.

Lessons.

AdonisJS + InertiaJS #2.0
・
Jul 02, 22

Understanding The Flow Between Adonis, Inertia, and Vue 3

In this lesson, we'll be inspecting the request flow from Adonis through Inertia and to Vue for both initial and subsequent requests.

Jun 19, 22

How To Make A Simple AdonisJS Package

Learn about AdonisJS' MRM Preset and how we can use it to easily make an AdonisJS package. In particular, we'll be building a Honeypot package that defines a provider, middleware, global component, and types.

AdonisJS + InertiaJS #1.0
・
Jun 05, 22

How To Add InertiaJS to a New AdonisJS Project

In this lesson, we'll create a new AdonisJS project, then install and configure InertiaJS with Vue 3 using the InertiaJS-AdonisJS adapter.

AdonisJS Quick Tip #8.0
・
May 28, 22

How To Make Your AdonisJS Authentication Login Case-Insensitive

Learn how to make the AdonisJS login attempt query case-insensitive easily by adding a simple method to our User Model.

Let's Build with AdonisJS #1.9
・
May 20, 22

Comment Likes & Unlikes

In this stream, we'll be adding the ability to like and unlike a comment on the new upcoming Jagr.Co site, built with AdonisJS.

Let's Build with AdonisJS #1.8
・
May 17, 22

Working A Bit with AdonisJS Social Auth

In this stream, we worked on fixing an issue I have on the new, not yet released, Jagr site where I didn't account for changing emails within my social auth.

Let's Build with AdonisJS #1.7
・
Apr 10, 22

Building An XML Sitemap

In this stream, we'll be going over how to build a sitemap of all our site's pages for search engines using XML to help bolster SEO.

AdonisJS Quick Tip #7.0
・
Mar 05, 22

How To Add A Custom Method to the Model Query Builder in AdonisJS

In this lesson, we'll learn how to define a macro for the Model Query Builder within an AdonisJS project to provide a new method onto all our Model's Query Builder.

Let's Learn AdonisJS 5 #4.0
・
Feb 05, 22

Service Providers & The IoC Container

We'll learn about Service Providers and how they interact with the IoC Container. We'll then put this to practice by wrapping a NodeJS package so it's easy to use within AdonisJS

Let's Build with AdonisJS #1.6
・
Jan 29, 22

Building A Comment System

In this stream, we focused on building a comment system that allowed infinitely nestable responses. It's all done server-side too, so it's SEO friendly!

Static, Non-Static, and IOC Services
Let's Learn AdonisJS 5 #3.2
・
Jan 24, 22

Static, Non-Static, & Singleton Services

We'll learn what services are. We'll then discuss three different ways we can use them within our AdonisJS application, including static, non-static, and singleton services.

AdonisJS Quick Tip #5.0
・
Jan 16, 22

How To Serialize All AdonisJS Lucid Model Properties As Camel Case

In this lesson, we'll learn how to use Naming Strategies in AdonisJS to alter the serialization behavior for all our model properties from snake case to camel case.

AdonisJS Quick Tip #4.0
・
Jan 09, 22

How To Add TailwindCSS to a New AdonisJS Project

This lesson covers creating a new AdonisJS project that includes Webpack Encore, then adding and configuring PostCSS and TailwindCSS within the project.

AdonisJS Bouncer #4.0
・
Jan 02, 22

Creating & Using Bouncer Policies

We'll learn about policies and how we can use them to group resource-based actions. We'll also learn how to create and share hooks with policies.

AdonisJS Bouncer #3.0
・
Dec 28, 21

Implementing Authorization Actions

We'll take what we learned about AdonisJS Bouncer actions in the last lesson to finalize the needed authorization checks for our blog application.

AdonisJS Bouncer #2.0
・
Dec 24, 21

Bouncer Actions & Authorizations

We'll learn about AdonisJS Bouncer actions and how we can use these actions to check if a user is authorized to perform a specific task. Plus, conditional check authorizations.

AdonisJS Bouncer #1.0
・
Dec 18, 21

Introducing, Installing, & Configuring Bouncer

In this lesson, we'll introduce AdonisJS Bouncer, the first-party AdonisJS package for authorization checking. We'll also get a start project setup and install and configure Bouncer.

AdonisJS In 30 #1.0
・
Dec 12, 21

AdonisJS Authentication in 15 Minutes

We'll be creating a new AdonisJS project and adding authentication to it within 15 minutes. You'll be able to logout, register, and login with either your username or email.

AdonisJS Quick Tip #3.0
・
Dec 08, 21

How To Add AdonisJS Edge Support to your WebStorm Environment

A quick tip on how to add AdonisJS Edge syntax highlighting to your JetBrains WebStorm environment using the VSCode plugin and TextMate Bundles.

Let's Learn AdonisJS 5 #3.1
・
Dec 02, 21

Route & Controller Resources

In this lesson, we'll learn what a resource is and how we can quickly and easily define a route resource and handle each resourceful route with a resource controller.

Showing 301 to 320 of 359 results