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
      • Jwt
      • Firebase
      • Amplify
      • Supabase
      • Auth0
      • User info
    • 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

JWT authentication

For version v5


Choose an authentication strategy

Update the auth method in your config.

src/config-global.ts
auth: {
  method: 'jwt',
},
Update environment variables

Update to your .env file.

VITE_SERVER_URL=https://api-dev-minimal-v6.vercel.app
 
{/* Or your own server */}
...
.env