Skip to content

ManitoCL/auth-callback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manito Auth Callback - Email Verification Success Handler

Enterprise-grade email verification success page for Manito marketplace.

Files to Deploy

Upload these files to your auth-callback repository:

  • verified.html - Main success page with Chilean-optimized UX
  • api/verified.js - API handler for serving the success page
  • vercel.json - Routing configuration for Vercel deployment

How to Deploy

  1. Upload to GitHub Repository:

    # Clone the auth-callback repo
    git clone https://github.com/ManitoCL/auth-callback.git
    cd auth-callback
    
    # Add the new files
    cp /path/to/verified.html .
    cp /path/to/api/verified.js ./api/
    cp /path/to/vercel.json .
    
    # Commit and push
    git add .
    git commit -m "Add enterprise email verification success page"
    git push origin main
  2. Vercel will automatically deploy the changes since it's connected to the GitHub repo.

  3. Test the endpoint:

    • Visit: https://auth.manito.cl/verified
    • Should show the success page

Features Implemented

🎨 Modern Success Page

  • Mobile-first responsive design
  • Chilean Spanish messaging
  • Auto-close functionality
  • Deep link back to app
  • Security messaging about login requirement

🔐 Security Features

  • Security headers (XSS protection, frame options)
  • Content Security Policy
  • Auto-close after 30 seconds
  • Clear messaging about post-verification login

📱 Mobile Optimization

  • Works on any device (device-agnostic)
  • Deep link integration: manito://auth/verified
  • Fallback instructions if app doesn't open
  • Landscape/portrait responsive

🇨🇱 Chilean Market Adaptations

  • Spanish-first language
  • Cultural messaging patterns
  • Trust-building security notes
  • Familiar UX patterns

Environment Requirements

No environment variables needed - this is a static success page with client-side JavaScript.

Integration with Manito App

The edge function enterprise-signup now redirects verification links to:

https://auth.manito.cl/verified

After verification, users must still log in with their password for security.

Troubleshooting

  • 404 errors: Make sure vercel.json routing is properly deployed
  • Deep link not working: Ensure the app is installed and deep links are configured
  • Page not loading: Check Vercel deployment logs

Security Notes

  • Links expire in 15 minutes
  • Post-verification login required
  • Provider-specific security warnings
  • No sensitive data stored client-side

About

Email confirmation callback handler for Manito mobile app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •