-
-
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
✨ [Feat] Extend Authentication System ( username/password, more oAuth options, ability to extend? ) #67
Conversation
[skip ci]
Status Check - Preview Deployments are failing due to a update to the database Table schema that requires the user to either run So far Username/password authentication is working, next steps are to implement some extra oAuth providers as well as to create a new section on the user profile for creating a password(for those users who dont already have one) or changing a password. |
Discord, and Google Authentication is now working as well! |
Auth0 is now added and working, that makes 4 oAuth providers and username/password authentication! |
Note: This PR does not allow users to link already existing accounts to new oAuth accounts... that will be something for another PR as this one is already getting fairly complex and i want to try to keep some of these PR's from getting to massive Note: Deployment preview is failing due to database schema mis-match! I will resolve by swapping the token to a new database before merge! |
packages/studioCMS/src/integrations/studioCMSDashboard/index.ts
Outdated
Show resolved
Hide resolved
...dioCMS/src/integrations/studioCMSDashboard/routes/authroutes/components/OauthProviders.astro
Outdated
Show resolved
Hide resolved
packages/studioCMS/src/integrations/studioCMSDashboard/routes/authroutes/login/api/register.ts
Outdated
Show resolved
Hide resolved
…authroutes/login/api/register.ts Co-authored-by: Jacob Jenkins <[email protected]>
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.
Sick! so far looks good to me ✅
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.
Lgtm! Amazing work! Nicely done @Adammatthiesen !
Original issue description
Our Current Auth system is currently only supporting Github oAuth using
Lucia-Auth
.Lucia Auth also supports Username & Password as well as Standard oAuth. The goal of this Issue would be to implement a secure username/password system as well as either adding basic support for other oAuth provider options or creating an Extension system for the user to be able to pass in oAuth Configurations.
closes #13