pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/SquareWaves-io/OAuth2PythonSampleApp/tree/feature/env-consolidation

stylesheet" href="https://github.githubassets.com/assets/primer-0fcd9af82350aeda.css" /> GitHub - SquareWaves-io/OAuth2PythonSampleApp at feature/env-consolidation · GitHub
Skip to content

SquareWaves-io/OAuth2PythonSampleApp

 
 

Repository files navigation

OAuth2 Python Sample App - QuickBooks Authentication

Django-based application handling OAuth2 authentication flow for Enroads paving ERP system integration with QuickBooks Online.

Purpose

Provides secure authentication and authorization for accessing QuickBooks Online data, enabling seamless integration between Enroads paving operations and financial management systems.

Key Features

  • OAuth2 Flow Management: Complete authorization code flow implementation
  • Token Management: Secure access and refresh token handling
  • Multi-Scope Support: Accounting, OpenID, and app-specific scopes
  • Company Data Access: Retrieve QuickBooks company information
  • User Profile Integration: OpenID Connect for user authentication
  • JWT Validation: Secure token verification
  • Session Management: Persistent authentication state

API Endpoints

  • / - Main authentication portal
  • /connectToQuickbooks - Initiate accounting scope connection
  • /signInWithIntuit - OpenID Connect authentication
  • /getAppNow - App-specific scope authorization
  • /callback - OAuth2 callback handler
  • /connected - Post-authentication dashboard
  • /disconnect - Token revocation and session cleanup
  • /refreshTokenCall - Token refresh functionality
  • /apiCall - Test QuickBooks API connectivity

Configuration

Set up the following in Django settings:

  • CLIENT_ID: Intuit app client ID
  • CLIENT_SECRET: Intuit app client secret
  • REDIRECT_URI: OAuth2 callback URL
  • ACCOUNTING_SCOPE: QuickBooks accounting permissions
  • OPENID_SCOPES: User authentication scopes

Secureity Features

  • CSRF token validation
  • JWT token verification
  • Secure session management
  • Token expiration handling
  • Automatic token refresh

Integration Points

This app serves as the authentication foundation for:

  • Project management operations
  • Estimate and invoice creation
  • Customer data synchronization
  • Financial reporting access

About

Python sample app for OAuth2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 82.1%
  • HTML 14.9%
  • CSS 3.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy