-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Summary
I'd like to add an OAuth 2.0 integration example for Express to complement the existing FastAPI OAuth 2.0 example (oauth2-with-fastapi).
Following the pattern from oauth2-with-fastapi, I'll implement:
GET /login- Initiates OAuth 2.0 flow with state parameter for CSRF protectionGET /callback- Handles OAuth callback, exchanges code for token, retrieves user infoGET /api/user/{user_id}- Protected endpoint requiring OAuth authentication- State Management - Secure state parameter handling
- Token Storage - Proper token handling (in-memory for demo, with notes for production)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels