One Auth Widget

Enterprise-grade OneTap widget for quick sign-in

v1.0.0

📦 CDN Files

All files are available via CDN with proper CORS headers and caching.

Latest Version

https://cdn.1nga.com/one-auth/latest/one-auth.js
https://cdn.1nga.com/one-auth/latest/one-auth.css

Versioned (Recommended for Production)

https://cdn.1nga.com/one-auth/v1.0.0/one-auth.js
https://cdn.1nga.com/one-auth/v1.0.0/one-auth.css

🚀 Quick Start

Add this to your HTML:

<script src="https://cdn.1nga.com/one-auth/latest/one-auth.js"></script>
<link rel="stylesheet" href="https://cdn.1nga.com/one-auth/latest/one-auth.css">

<script>
  OneAuth.init({
    apiUrl: 'https://api.example.com',
    position: 'top-right',
    theme: 'auto',
    autoShow: true,
    onSignIn: (user) => {
      console.log('Signed in:', user);
    },
  });
</script>

📚 Documentation

🔒 Security