docs: added auth overview video.

This commit is contained in:
Matija Sosic 2023-12-13 17:52:55 +01:00
parent f6a40e9435
commit 4039bda26b
2 changed files with 24 additions and 1 deletions

View File

@ -5,7 +5,13 @@ title: Using Auth
import { AuthMethodsGrid } from "@site/src/components/AuthMethodsGrid";
import { Required } from "@site/src/components/Required";
Auth is an essential piece of any serious application. Coincidentally, Wasp provides authentication and authorization support out of the box 🙃.
Auth is an essential piece of any serious application. Coincidentally, Wasp provides authentication and authorization support out of the box.
Here's a 1-minute tour of how full-stack auth works in Wasp:
<div className='video-container'>
<iframe src="https://www.youtube.com/embed/Qiro77q-ulI?si=y8Rejsbjb1HJC6FA" frameborder="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
Enabling auth for your app is optional and can be done by configuring the `auth` field of the `app` declaration.

View File

@ -128,3 +128,20 @@
font-weight: bold;
font-size: var(--ifm-h6-font-size);
}
/******* OTHER ********/
.video-container {
position: relative;
width: 100%;
padding-bottom: 56.25%;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}