-
Notifications
You must be signed in to change notification settings - Fork 175
refactor(common/auth): move login credentials to auth_provider #7055
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
+1,748
−283
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
6819261
migration sql script
Neilk1021 ae02630
refactor(sql): swap sql tables to add auth_provider table
Neilk1021 8cf34ce
refactor(sql): migrate local and google auth to use new table def
Neilk1021 87adc7d
refactor(auth): Migrate admin UserResource to new jOOq def.
Neilk1021 913daaf
refactor(auth): Refactor `AdminUserResource.scala` to match jOOq tables.
Neilk1021 b3682dd
refactor(auth): Refactor `AdminUserResource.scala` to match jOOq tables.
Neilk1021 5bad80c
Merge branch 'apache:main' into task/migrateBackend
Neilk1021 94d2fa9
refactor(auth): Refactor `AdminUserResource.scala` to match jOOq tables.
Neilk1021 2766d9c
Merge branch 'task/migrateBackend' of https://github.com/Neilk1021/te…
Neilk1021 5ec16e0
fix(auth): fix spec tests for branch
Neilk1021 ebb758b
Merge branch 'main' into task/migrateBackend
Neilk1021 53ca02f
refactor(auth): readd migration after git merge
Neilk1021 33d70b6
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 70fb360
refactor(auth): update `AuthResource` with main.
Neilk1021 e417d9c
refactor(auth): update `AuthResource` with main.
Neilk1021 f8c67d7
fix(auth): fix spec tests
Neilk1021 a36b9db
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 784f6a4
fix(auth): fix coverage
Neilk1021 8edb710
fix(auth): fix coverage
Neilk1021 0f5e89d
Merge branch 'main' into task/migrateBackend
Neilk1021 27461b6
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 dc83194
fix(tests): fix spec tests from merging main
Neilk1021 a455ef4
fix(sql): migration cleanup
Neilk1021 ae68cb2
refactor(auth): move creating a local account to its own helper object.
Neilk1021 f4e2c71
refactor(auth): move creating a local account to its own helper object.
Neilk1021 6102a00
fix(auth): verify email for external users and readd google id
Neilk1021 52c9e16
Merge branch 'main' into task/migrateBackend
Neilk1021 2ae76c6
fix(auth): verify email for external users and readd google id
Neilk1021 aae354e
fix(auth): guard against double insert
Neilk1021 031abc0
fix(auth): hoist verifier and split `verifiedPayload` s.t. it can ret…
Neilk1021 53475f8
Merge branch 'task/migrateBackend' into task/migrateAvatarLogic
Neilk1021 659c2a7
fix(auth): finish avatar migration
Neilk1021 5950435
fix(auth): fix avatar migration
Neilk1021 1abdc70
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 f50aabf
refactor(auth): revert behavior changes and fix email casing
Neilk1021 ac8b90b
refactor(auth): drop unread localHandle and fix stale docs
Neilk1021 1cf7f92
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 b0b411f
refactor(auth): port the new admin computing-unit spec to auth_provider
Neilk1021 38db65d
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 6456fdb
fix(auth): fix jwtClaims signature
Neilk1021 f988ee4
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 32faa38
fix(auth): fix jwtClaims signature
Neilk1021 e30adc9
fix(auth): update changelog desc
Neilk1021 8273c1d
fix(auth): ran scalafixAll
Neilk1021 6020d0d
fix(auth): hoist provisioning into its own method to allow proper try…
Neilk1021 658d85c
fix(auth): fix naming mistake
Neilk1021 a27ddec
fix(auth): drop unneeded comments
Neilk1021 2bb5ce1
fix(auth): run sbtfmtAll
Neilk1021 8099703
Update amber/src/main/scala/org/apache/texera/web/resource/auth/Local…
Neilk1021 ae14225
Update common/auth/src/main/scala/org/apache/texera/auth/JwtAuth.scala
Neilk1021 379215c
Update amber/src/main/scala/org/apache/texera/web/resource/auth/Exter…
Neilk1021 f655a5e
Update amber/src/main/scala/org/apache/texera/web/resource/auth/Exter…
Neilk1021 33c958b
Update amber/src/main/scala/org/apache/texera/web/resource/auth/Googl…
Neilk1021 0c3d0f0
Update amber/src/main/scala/org/apache/texera/web/resource/auth/Local…
Neilk1021 ac1f408
refactor(auth): migrate UNIQUE_VIOLATION constraint to AuthResource t…
Neilk1021 88ba36b
fix(auth): cleanup dead JwtAuthSpec test to stop using dead parameter.
Neilk1021 7f057ea
refactor(amber): read the unique-violation SQLSTATE from a shared con…
Yicong-Huang 8be10a1
test(amber): pin LocalAuthProvisioner's unique-violation messages
Yicong-Huang 75a8af1
fix(amber): normalize login handles in migration 33 instead of refusing
Yicong-Huang a5a83d4
fix(sql): apply uq_provider constraint at the end of migration
Neilk1021 d1dbfbe
fix(auth): verify google email and migrate verifier to shared compani…
Neilk1021 027bfff
refactor(auth): collapse the createLocalAccount seam into its one caller
Neilk1021 997e16d
fix(auth): stop deriving an admin-created account's password from its…
Neilk1021 0fbeb5e
refactor(auth): route both email lookups through one query
Neilk1021 7d8b5be
refactor(auth): tidy provision's returning-user path and naming
Neilk1021 0e77000
docs(auth): record that the googleId claim is now absent, not null
Neilk1021 0656b02
fix(auth): lint
Neilk1021 63628cf
Merge remote-tracking branch 'upstream/main' into task/migrateBackend
Neilk1021 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
Oops, something went wrong.
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.