Skip to content

Feat/add oauth providers and refactor middleware#642

Closed
theothersideofgod wants to merge 5 commits into
mainfrom
feat/add-oauth-providers-and-refactor-middleware
Closed

Feat/add oauth providers and refactor middleware#642
theothersideofgod wants to merge 5 commits into
mainfrom
feat/add-oauth-providers-and-refactor-middleware

Conversation

@theothersideofgod
Copy link
Copy Markdown
Contributor

add oauth providers and refactor middleware

…dencies

- Add passport-facebook@^3.0.0 and passport-linkedin-oauth2@^1.0.0
- Add corresponding TypeScript type definitions
- Update pnpm-lock.yaml with new dependencies
…RM queries

- Replace connection: true with first: connectionFirst in apiSelect and apiListSelect
- Update nested queries (sites, domains) to use first parameter
- Align with new ORM type system requirements
- Add ApiOptions type for API middleware configuration
- Add ApiConfigResult union type for API configuration results
- Support ApiError type for error handling
- Replace debug logs with structured info log
- Include non-sensitive configuration values in startup log
- Better visibility of server configuration at startup
- Add Facebook OAuth provider with dynamic callback URL support
- Add LinkedIn OAuth provider with dynamic callback URL support
- Implement solution one: pass Strategy instances directly to authenticate()
- Update OAuthProvider type to include 'facebook'
- Add comprehensive SSO documentation (SSO.md)
- Support multi-database architecture with domain-based routing
- All providers use consistent pattern with state parameter for domain info
@theothersideofgod theothersideofgod deleted the feat/add-oauth-providers-and-refactor-middleware branch May 9, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant