Buy nowGet update
  • getting started
    • Introduction
    • Quick start
    • Mock server
    • Deployment
    • Package & license
    • Setup
    • Figma
  • theme UI
    • Colors
    • Typography
    • IconsNEW
    • Shadows
    • Css vars
    • Logo
    • Layout
    • Navigation
    • Settings
  • Global
    • Styles
    • Config
    • Components overrides
  • development
    • Routing
    • Subfolder
    • Authentication
    • Environment variables
    • Api calls
    • Multi language
    • Structure
    • Clean project
    • Dependencies
    • Tailwind
    • Migrate to CRA
    • Credit assets
  • support
    • 🔵 Update
    • 🔴 Faqs & support
    • 🟣 Changelogv7.4.0
© All rights reserved.ContactHome

Amplify (Demo)


Step 1:

Update .env

VITE_AWS_AMPLIFY_USER_POOL_ID=us-east-1_lz1fF1nlN
VITE_AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID=1rlr1111shmclka1111f1v1fcp
VITE_AWS_AMPLIFY_REGION=us-east-1
.env

Step 2:

Update src/App or src/app/layout

import { AuthProvider } from 'src/auth/context/amplify';
 
<AuthProvider>
  {children}
</AuthProvider>;
src/App or src/app/layout

Step 3:

Update src/auth/hooks/use-auth-context

import { AuthContext } from '../context/amplify/auth-context';
src/auth/hooks/use-auth-context.js

Get API KEY

Video

VITE_AWS_AMPLIFY_USER_POOL_ID=
minimal-preview
VITE_AWS_AMPLIFY_USER_POOL_WEB_CLIENT_ID=
minimal-preview