Add catalog analytics auth #45
Merged
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.
This pull request introduces the initial implementation of the
catalog-analyticsservice, including infrastructure for deployment, authentication, and frontend styling. The main changes set up a secure, branded analytics dashboard for the Vector Institute, deployable via Google Cloud Run and protected by Google OAuth restricted to institutional accounts.Deployment and Infrastructure
.github/workflows/deploy-catalog-analytics.ymlto automate building and deploying thecatalog-analyticsservice to Google Cloud Run, including Docker image creation, Artifact Registry setup, deployment, verification, and summary output.catalog-analytics/Dockerfileand supporting files (.dockerignore,.gitignore,.env.example) to enable containerized Next.js builds and secure environment management for production deployment. [1] [2] [3] [4]Authentication and Security
/api/auth/login,/api/auth/callback,/api/auth/logout,/api/auth/session) with PKCE flow, domain restriction tovectorinstitute.ai, secure session management, and error handling. [1] [2] [3] [4]Frontend and Branding
globals.cssfor Vector Institute branding, light/dark theme support, and reusable card/gradient components.app/login/page.tsx) with Google sign-in, institutional access note, and responsive design.Pre-commit and Workflow Updates
[Copilot is generating a summary...]