Skip to content

iamspathan/auth-illustration

Repository files navigation

OAuth & OIDC Deep Dive - Interactive Visualization

An interactive, step-by-step visualization of OAuth 2.0, OpenID Connect, and Identity Assertion Authorization Grant (ID-JAG) flows, demonstrating secure authentication patterns for AI agents.

🎯 Features

  • 5 Interactive Slides: Each demonstrating different authentication flows
  • Step-by-step Navigation: Move forward and backward through each flow
  • Visual Tokens: See JWT tokens generated and exchanged in real-time
  • Presentation Mode: Keyboard shortcuts for presenting
  • Responsive Design: Works on desktop and tablet devices

🔐 Covered Authentication Flows

  1. OAuth Consent Flow: Basic OIDC authentication with user consent
  2. App-to-App Integration: Calendar and Zoom OAuth integration
  3. Delegated API Key: Security concerns with key sharing
  4. Agent as OAuth Client: The problem with traditional OAuth for AI agents
  5. Cross-App Access (ID-JAG): The solution using Identity Assertion Authorization Grant

🚀 Getting Started

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

# Preview production build
npm run preview

⌨️ Keyboard Shortcuts

  • Space / → / PageDown / n: Next step/slide
  • ← / PageUp / p: Previous step/slide
  • F: Toggle fullscreen
  • 1-5: Jump to specific slide
  • Esc: Exit fullscreen

Tech Stack

  • React 18 + TypeScript - Modern component-based UI
  • Vite - Lightning-fast dev server and build tool
  • Tailwind CSS - Utility-first styling
  • Radix UI - Accessible component primitives
  • Lucide React - Beautiful icon library

References

🎨 Tech Stack

  • React 18 with TypeScript
  • Vite for blazing fast development
  • Tailwind CSS for styling
  • Radix UI for accessible components
  • Lucide React for icons

📚 References

👨‍💻 Author

Sohail Pathan

📄 License

MIT License - feel free to use this for educational purposes!


Made with ❤️ for the OAuth community

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published