Feat/add oauth providers and refactor middleware#642
Open
theothersideofgod wants to merge 5 commits intomainfrom
Open
Feat/add oauth providers and refactor middleware#642theothersideofgod wants to merge 5 commits intomainfrom
theothersideofgod wants to merge 5 commits intomainfrom
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add oauth providers and refactor middleware