feat(core): set up @aura-stack/auth monorepo#1
Merged
halvaradop merged 3 commits intomasterfrom Oct 27, 2025
Merged
Conversation
- add standard error using `error` and `error_description` body format - add `setCookiesByNames` and `getCookiesByNames` helpers - refactor `getUserInfo` function - standardize Zod schemas - add mock tests for callback functions
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.
Description
This pull request sets up and introduces the main features and codebase for the
@aura-stack/authauthentication library for TypeScript applications.These changes include the setup of the core packages
@aura-stack/authand@aura-stack/session, which together implement the foundational OAuth 2.0 workflow.The library provides two main endpoints —
/signIn/:oauthand/callback/:oauth— to handle user authentication and interaction with third-party services for secure access to defined resources.Some parts of the codebase have been tested using Vitest.
Additionally, several shared configuration packages have been included for common tooling across the monorepo, such as TypeScript, Prettier, and Tsup.
Key Changes
@aura-stack/tsconfig@aura-stack/tsup-config@aura-stack/prettier-config@aura-stack/authcore package, managing/signIn/:oauthand/callback/:oauthendpoints.@aura-stack/sessioncore package, handling cookies and JWT-based session management.@aura-stack/authpackage.Project Structure