feat(core): support configurable api prefix and decouple plugin endpoints#9
Open
xmmendezy wants to merge 2 commits into
Open
feat(core): support configurable api prefix and decouple plugin endpoints#9xmmendezy wants to merge 2 commits into
xmmendezy wants to merge 2 commits into
Conversation
…ints - support optional, configurable api prefix via `BetterAuthClient.create` - default api prefix remains `/api/auth` to maintain backward compatibility - refactor `ApiEndpoints` in core to use runtime-evaluated static getters - isolate and decouple plugin endpoints into dedicated class configurations - update phone and two-factor plugins to use their respective local endpoints - add unit tests verifying custom prefixing and default configurations - document configurable prefix usage with clear examples in README.md - resolve pre-existing static analysis warnings and lints across the codebase
- add optional User return to social() sign-in - change idToken from Map to String? for native token flow - implement direct native sign-in path via idToken with web fallback - make callbackURL optional in forgotPassword request - remove unused name/image/callbackUrl fields from sign-up
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.
feat(core): support configurable api prefix and decouple plugin endpoints
BetterAuthClient.create/api/authto maintain backward compatibilityApiEndpointsin core to use runtime-evaluated static getters