You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main/docs/libraries/acul/js-sdk.mdx
+18-22Lines changed: 18 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,33 +9,29 @@ title: ACUL JS SDK
9
9
'twitter:title': ACUL JS SDK
10
10
---
11
11
12
-
The Auth0 ACUL JS SDK enables you to work with [Advanced Customization for Universal Login](/docs/customize/login-pages/advanced-customizations).
12
+
The Auth0 ACUL JS SDK lets you build custom Universal Login experiences with mininal effort. Whether you are working with login, signup, passwordless, or passkey enrollment, this SDK is built to handle modern authentication flows with ease.
13
13
14
-
It simplifies integrating authentication screens (login, signup, passwordless, passkey enrollment, etc.) into your web applications, providing the necessary tools for seamless implementation.
14
+
### Why Choose the Auth0 ACUL JS SDK?
15
15
16
-
To get started install the ACUL JS SDK via npm:
16
+
***Fast Integration:** Drop in pre-built screens like `login-id` or `signup-password`.
17
+
***Modern Features:** Support passwordless, passkeys, and social logins.
18
+
***Flexible Modules:** Import only what you need.
19
+
***Unified State Management:** Use a single transaction object to handle all authentication flows.
17
20
18
-
```bash
19
-
npm install @auth0/auth0-acul-js
20
-
```
21
+
### Architecture
21
22
22
-
After installing the SDK, you can import the screen classes to configure
23
-
24
-
```bash
25
-
// Default import of any particular screen, eg: login-id screen
26
-
import LoginId from '@auth0/auth0-acul-js/login-id';
27
-
28
-
// Named import of any screen
29
-
import { LoginId } from '@auth0/auth0-acul-js';
30
-
31
-
// Default import of all screens
32
-
import * as Screens from '@auth0/auth0-acul-js';
33
-
```
34
-
35
-
Explore the [ACUL JS SDK screens classes and their methods](/docs/libraries/acul/js-sdk/Screens/classes/login).
36
-
37
-
You can also get started with the [ACUL Quickstart](/docs/customize/login-pages/advanced-customizations/quickstart).
23
+
#### How it works?
38
24
25
+
The SDK is built with modularity and scability in mind. Here is how it fits together:
39
26
27
+
***Screens:** Each authentication flow, such as `login-id` and `signup-password`, is a standalone module.
28
+
***Submit Handlers:** Manage form submissions and transitions.
29
+
***Dynamic Forms:** Adapt fields and validations based on screen configurations.
30
+
***Helper Properties:** Access common data, such as branding or transcation, in consistent way.
Copy file name to clipboardExpand all lines: main/docs/libraries/acul/js-sdk/Screens/classes/Login.mdx
+89-72Lines changed: 89 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
title: "Login"
3
3
---
4
4
5
+
The Login class implements the `login` screen functionality. This screen collects the user's identifier and password. Depending on your tenant, this identifer can be an email, phone number, or username.
0 commit comments