-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth Overhaul #369
Auth Overhaul #369
Conversation
…e the new system.
🦋 Changeset detectedLatest commit: 3e6af40 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thank you for submitting your Pull Request, the following links will become available for preview shortly:
|
…"@fontsource/onest"
Demo for new login page (and auth system) is available at https://next-demo.studiocms.xyz/dashboard/login oAuth is currently disabled due to other requirements for oAuth not being done yet(Dashboard stuff that will happen as part of the redesign) |
- Adds a fallback image that displays when the Three.js context fails to render.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Massive refactor 🚢
Closes #327
Closes #326
Partial #73
Partial #331
This pull request includes a comprehensive overhaul of the authentication system in the StudioCMS project, along with updates to dependencies and refactoring of various components. The most important changes include the introduction of new environment variables, removal of the old authentication system, addition of new components, updates to database schemas, and refactoring of dependencies in multiple packages.
Auth System Overhaul:
CMS_ENCRYPTION_KEY
andCMS_GITHUB_REDIRECT_URI
to theastro:env
schema for authentication purposes. [1] [2]OAuthButton
,OAuthButtonStack
, andAuthLayout
components, along with their associated CSS and scripts. [1] [2] [3]Lucia
based authentication system and associated files (lucia-astrodb-adapter
,authHelper
). [1] [2]StudioCMSUsers
table to remove OAuth IDs, addedStudioCMSOAuthAccounts
table for handling OAuth accounts, and updatedStudioCMSPermissions
andStudioCMSSiteConfig
tables.Dependency and Configuration Updates:
package.json
files across multiple packages (@studiocms/auth
,@studiocms/core
,@studiocms/dashboard
,@studiocms/ui
). [1] [2] [3] [4]biome.json
to adjust the list of ignored files.These changes collectively aim to enhance the security, maintainability, and functionality of the StudioCMS authentication system.