Skip to content

v10.0

Latest
Compare
Choose a tag to compare
@level09 level09 released this 24 Feb 11:45
· 12 commits to master since this release

Enferno Framework v10 Release Notes

Major Features

Social Authentication Integration

  • Added comprehensive OAuth support via Flask-Dance
  • Implemented Google OAuth integration
    • Profile and email scope support
    • Secure token storage using SQLAlchemy
    • Automatic account linking with existing users
  • Added GitHub OAuth integration
    • User email scope support
    • Support for private email addresses
    • Seamless account creation/linking

Authentication Enhancements

  • New OAuth storage model for managing social connections
  • Improved session management and security
  • Smart IP detection with Cloudflare and proxy support
  • Unified login flow between traditional and social auth

Configuration Updates

  • New environment variables for OAuth setup:
    GOOGLE_AUTH_ENABLED
    GOOGLE_OAUTH_CLIENT_ID
    GOOGLE_OAUTH_CLIENT_SECRET
    GITHUB_AUTH_ENABLED
    GITHUB_OAUTH_CLIENT_ID
    GITHUB_OAUTH_CLIENT_SECRET
    

UI Improvements

  • Added social login buttons to login page
  • Material Design icons integration
  • Improved error handling and user feedback

Security Enhancements

  • Secure token storage
  • Protection against OAuth state forgery
  • Safe account linking mechanism
  • Proper session handling for social auth

Documentation

  • Added comprehensive OAuth setup guide
  • Updated authentication documentation
  • New development guidelines for social auth integration

Requirements

  • Flask-Dance
  • SQLAlchemy-Utils
  • Redis (for session storage)

Migration Notes

  • New database migrations for OAuth models
  • Environment configuration updates required
  • Redis session storage now required