-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Injected auth models #1583
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
Merged
Merged
Injected auth models #1583
Changes from 12 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
87a24b1
WIP: Auth entity
infomiho 7749dec
Merge branch 'main' into auth-model-experiment
infomiho a7e3c14
Username and password working
infomiho bf77d11
Add support for email auth
infomiho 238c3a8
Add support for Social auth
infomiho 627ecf9
Add tasks to User
infomiho 4259689
Update authentication providers and entities
infomiho 20d4fd4
Email authentication. Test adding signup fields
infomiho 33eb3aa
Migration with seed scripts
infomiho 993e39d
Migrate Todo app
infomiho cf38191
Clenaup
infomiho 9dfbd6c
Remove example app
infomiho 4d0e3e4
Cleanup
infomiho a768c36
Updates tests
infomiho 83ad555
Cleanup
infomiho 8693c69
Fixes tests
infomiho 43fb9f7
Merge branch 'main' into auth-model-experiment
infomiho e6f6a17
Use JSON based auth model
infomiho 2714731
Refactor provider data serialization
infomiho 872bca1
Updates typing of provider data
infomiho fd87def
Remove Prisma middleware. Fixes types
infomiho 3ae0468
Cleanup
infomiho b5e0c05
Fixes double password hashing issue
infomiho 315962f
Fixes headless test
infomiho 95bda0a
Update e2e tests
infomiho efc2291
Cleanup
infomiho 7fa0fe1
Merge branch 'main' into auth-model-experiment
infomiho 21b0e77
Updates utils.ts. Updates websocket example app
infomiho f94f7fd
Update e2e tests
infomiho 0a1d965
Update examples apps. Update server utils.ts
infomiho 52f0881
PR comments
infomiho f982e6d
Updates e2e tests
infomiho 48484c1
Add user ID helpers
infomiho 6ba6a21
Fixes e2e tests
infomiho cf19e38
Improve naming and types
infomiho c5aee00
Updates e2e tests
infomiho a3cb241
Update examples/waspello/src/client/Navbar.jsx
infomiho b0b1a8b
PR comments
infomiho ce1c89b
PR comments
infomiho c3e46dc
Minor fixes. Rename local provider to username
infomiho c58ed9c
Updates e2e tests
infomiho 2429673
Fixes frontend unit tests
infomiho d71d0f7
PR comments
infomiho 8d27abb
Update e2e tests
infomiho d9690bb
Improve username handling in examples. Add getFirstProviderUserId
infomiho 226e38b
Update e2e tests
infomiho 9303dbc
Update seed script path
infomiho 7ea4792
Add comment above PossibleProviderData
infomiho 887ce20
Use UTC date for auth related timings
infomiho 215bb86
Updates e2e tests
infomiho 227a2f8
unverfiied email signup flow. foregin constraint error
infomiho 1c53057
e2e tests
infomiho 5daf665
Use token in email verification and password reset
infomiho 4d1a863
e2e tests
infomiho dba9d28
Fix user creation and deletion errors
infomiho c313736
e2e tests
infomiho acf5d1f
PR comments
infomiho 49966c0
PR comments
infomiho 7c1b66e
Update e2e tests
infomiho 04a9ee1
Extract the oauth handler into a separate function
infomiho d84dcc9
e2e tests
infomiho d4339a4
Update waspc/data/Generator/templates/server/src/auth/providers/email…
infomiho 5077add
Apply suggestions from code review
infomiho 9e4d7bb
Merge branch 'main' into auth-model-experiment
infomiho 993eeac
PR comments
infomiho 9b1185d
e2e tests
infomiho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
{{={= =}=}} | ||
{=# isEmailAuthEnabled =} | ||
export { defineAdditionalSignupFields } from './providers/email/types.js'; | ||
{=/ isEmailAuthEnabled =} | ||
{=# isLocalAuthEnabled =} | ||
export { defineAdditionalSignupFields } from './providers/local/types.js'; | ||
{=/ isLocalAuthEnabled =} | ||
export { defineAdditionalSignupFields } from './providers/types.js'; | ||
Martinsos marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.