Kristaps Fabians Geikins
bde148f286
chore(server): migrating fully to ESM ( #5042 )
...
* wip
* some extra fixes
* stuff kinda works?
* need to figure out mocks
* need to figure out mocks
* fix db listener
* gqlgen fix
* minor gqlgen watch adjustment
* lint fixes
* delete old codegen file
* converting migrations to ESM
* getModuleDIrectory
* vitest sort of works
* added back ts-vitest
* resolve gql double load
* fixing test timeout configs
* TSC lint fix
* fix automate tests
* moar debugging
* debugging
* more debugging
* codegen update
* server works
* yargs migrated
* chore(server): getting rid of global mocks for Server ESM (#5046 )
* got rid of email mock
* got rid of comment mocks
* got rid of multi region mocks
* got rid of stripe mock
* admin override mock updated
* removed final mock
* fixing import.meta.resolve calls
* another import.meta.resolve fix
* added requested test
* nyc ESM fix
* removed unneeded deps + linting
* yarn lock forgot to commit
* tryna fix flakyness
* email capture util fix
* sendEmail fix
* fix TSX check
* sender transporter fix + CR comments
* merge main fix
* test fixx
* circleci fix
* gqlgen bigint fix
* error formatter fix
* more error formatting improvements
* esmloader added to Dockerfile
* more dockerfile fixes
* bg jobs fix
2025-07-14 10:26:19 +03:00
Iain Sproat
a749a96791
fix(server/auth/google): handle error parameter in request query ( #5003 )
...
- callback queries with query parameter key of `error` and value of `access_denied` were not being handled and resulting in passportService case for no user, no error, and a failureType of null.
- tokenerror seems not to result in google verify callback being called, so moving the logic to handle it to the passport authentication callback
2025-07-01 07:38:07 +01:00
Iain Sproat
33e480185e
fix(passport): google strategy handle invalid grant errors ( #4742 )
2025-05-28 09:41:26 +01:00
Iain Sproat
735a14279e
fix(server/auth): callback should not finalize auth if HTTP response already sent ( #4044 )
2025-02-27 08:37:43 +00:00
Iain Sproat
8d0678b3bd
fix(auth/error): improve error handling of auth issues ( #3950 )
2025-02-11 17:07:25 +01:00
Iain Sproat
9bbd6bea01
fix(logging): correct log levels for error types from auth flow ( #3934 )
2025-02-04 17:17:11 +00:00
Iain Sproat
c59e6043bb
fix(server/errors): derive errors from BaseError ( #3918 )
2025-01-30 18:15:56 +01:00
Kristaps Fabians Geikins
e2c886f27e
fix(server): more resilient sign up tracking
2024-10-21 16:20:48 +03:00
Kristaps Fabians Geikins
f27f289dc6
chore(server): core IoC #78 - getServerInfoFactory
2024-10-17 12:37:43 +03:00
Kristaps Fabians Geikins
abcbe0e2b8
chore(server): core IoC #58 - legacyGetUserByEmailFactory
2024-10-15 13:26:49 +03:00
Kristaps Fabians Geikins
00d2402a8e
chore(server): core IoC #56 - findOrCreateUserFactory
2024-10-15 13:10:38 +03:00
Kristaps Fabians Geikins
31a4380f82
chore(server): auth IoC 19 - setupStrategiesFactory ( #3043 )
2024-09-20 11:07:46 +03:00
Kristaps Fabians Geikins
eb056e3842
chore(server): auth IoC 18 - googleStrategyBuilderFactory ( #3040 )
...
* chore(server): auth IoC 3 - getAllAppsCreatedByUserFactory
* minor fix
* chore(server): auth IoC 4 - getAllAppsAuthorizedByUserFactory
* chore(server): auth IoC 5 - createAppFactory
* chore(server): auth IoC 6 - updateAppFactory
* chore(server): auth IoC 7 - deleteAppFactory
* chore(server): auth IoC 8 - revokeExistingAppCredentialsForUserFactory
* chore(server): auth IoC 9 - revokeRefreshTokenFactory
* chore(server): auth IoC 10 - createAuthorizationCodeFactory
* chore(server): auth IoC 11 - createAppTokenFromAccessCodeFactory
* chore(server): auth IoC 12 - refreshAppTokenFactory
* chore(server): auth IoC 13 - index repo
* chore(server): auth IoC 14 - localStrategyBuilderFactory
* chore(server): auth IoC 15 - oidcStrategyBuilderFactory
* chore(server): auth IoC 16 - azureAdStrategyBuilderFactory
* chore(server): auth IoC 16 - githubStrategyBuilderFactory
* chore(server): auth IoC 18 - googleStrategyBuilderFactory
2024-09-19 14:14:22 +03:00
Kristaps Fabians Geikins
23d5a7b559
fix(server): auto-verify on invited server registration ( #2824 )
2024-09-02 09:40:53 +02:00
Iain Sproat
b03e79ae44
chore(logging): improve logging around passportjs strategies ( #2593 )
...
- ensures the request logger, containing request details, is used
2024-08-07 13:34:49 +01:00
Kristaps Fabians Geikins
50b5bdbbdd
chore(server): typescriptified auth strategies ( #2589 )
...
* rebuilt strategies.js
* local.js -> local.ts
* oidc.js -> oidc.ts
* google.js -> google.ts
* github.js -> github.ts
* azure-ad.js -> azureAd.ts
* minor fixes
* FE2 regen
* improved error reference page
* minor adjustment
* more error page improvements
* migrated helper
* testfix
2024-08-07 11:38:44 +03:00