Commit Graph
4400 Commits
Author SHA1 Message Date
KinfeMichael TarikuandGitHub 954b1dcb74 fix(admin): unban should reset expiration date and reason (#1469) 2025-02-20 21:53:45 +03:00
Thiago FelixandGitHub e51332022a fix(oauth): set tokens on oauth account created during link (#1462) 2025-02-20 21:53:22 +03:00
KinfeMichael TarikuandGitHub 072c597500 fix(admin): impersonate user session expiration (#1471)
* fix: impersonate user session expiration

* console leak
2025-02-20 21:52:26 +03:00
Alessandro JeanandGitHub 9c3b5c377f fix(generic-oauth): support allowDifferentEmails on Generic OAuth Plugin (#1481) 2025-02-20 21:51:55 +03:00
Gregor WedlichandGitHub 28f186c6d0 feat(two-factor): activate two factor with email OTP to avoid Insecure skipVerificationOnEnable (#1445)
* Revise Email and Password integration docs: improved clarity and added new examples

* Enable OTP activation after successful verification

- Remove pre-check for twoFactorEnabled in OTP verification endpoint.
- Update user record (twoFactorEnabled: true) after correct OTP submission.
- Refresh session with updated user data.
2025-02-20 20:50:36 +03:00
Bereket Engida ba11b97dbd chore: release v1.1.19-beta.3 2025-02-20 20:48:55 +03:00
Bereket Engida a280dc78b6 chore: fix types 2025-02-20 15:09:47 +03:00
Bereket Engida da45b1a6aa refactor: type issues with the magic link plugin 2025-02-20 15:07:47 +03:00
63fbd91077 feat: add context to database hooks (#1180)
database hooks now contain endpoint context on their callback

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-20 15:02:50 +03:00
Bereket EngidaandGitHub bf47aaed2f fix(passkey): remove client export from the server plugin (#1511) 2025-02-20 10:13:55 +03:00
Bereket EngidaandGitHub d80a12a4b5 fix(db): normalize email to lowercase in change email verification 2025-02-20 10:13:31 +03:00
Bereket EngidaandGitHub 56c65d9e09 Merge pull request #1475 from runreal/oidc-fixes
OIDC plugin related bug fixes
2025-02-20 09:29:53 +03:00
warmanandGitHub 8ac1ffeaae fix(oidc-plugin): sub is required /userinfo response (#1504) 2025-02-20 09:26:56 +03:00
Bereket Engida 883c5a9f0e Merge branch 'main' into v1.2 2025-02-20 09:22:45 +03:00
KinfeMichael TarikuandGitHub 261fe93173 fix(api): config in getSessionFromCtx overrides query param (#1496) 2025-02-19 13:35:50 +03:00
Alexandre StahmerandGitHub add3820c0d fix(open-api): add missing id field in generated OpenAPI for each schema (Models) (#1491) 2025-02-19 13:30:23 +03:00
Bereket Engida 90c449b945 chore: release v1.2.0-beta.10 2025-02-18 00:25:19 +03:00
Bereket Engida 9cb72a5447 chore: update better-call dependency to use catalog versioning 2025-02-18 00:20:27 +03:00
warman 459e7d9635 fix(jwt-plugin): include alg in jwks response 2025-02-17 16:09:09 -05:00
warman c39e1031e3 fix(oidc-plugin): store and handle nonce value 2025-02-17 16:08:08 -05:00
Bereket Engida 0a47a402e2 feat(one-tap): implement account linking 2025-02-17 23:51:39 +03:00
warman c0bd42876a fix(oidc-plugin): deleteVerificationValue call by id 2025-02-17 14:55:10 -05:00
Bereket Engida 0a9975f4ce chore: release v1.2.0-beta.9 2025-02-17 09:32:30 +03:00
Bereket Engida 2020e1f24d feat(admin): add adminUserIds option for custom admin access control 2025-02-17 08:24:12 +03:00
Bereket EngidaandBereket Engida 8a08ae9eee feat(one-tap): improve Google One Tap integration with JWT verification and improved prompt handling (#1452)
* fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins

* feat(one-tap):  improve Google One Tap integration with JWT verification and improved prompt handling

* feat(one-tap): add One Tap component for user authentication and fix prompt options
2025-02-17 08:23:56 +03:00
Bereket Engida 868a63c047 fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins 2025-02-17 08:23:56 +03:00
Stephen LacyandBereket Engida 8d9fa3bafb fix(oidc-plugin): user info endpoint casing to match OIDC spec (#1446) 2025-02-17 08:23:56 +03:00
Bereket EngidaandBereket Engida abd58be5fc feat(mongodb-adapter): support custom ID generation in MongoDB adapter (#1444)
* feat(mongodb-adapter): support custom ID generation in MongoDB adapter

* chore: remove log
2025-02-17 08:23:41 +03:00
Phanuwat-PaoandBereket Engida 06419fff10 fix(open-api): convert path parameters to OpenAPI format (#1437) 2025-02-17 08:23:41 +03:00
Bereket EngidaandBereket Engida c4f2087943 feat(username): add default validation and options for validating username (#1345)
* feat: add default validation and options for validating username

* chore: release v1.1.16-beta.5

* fix: include update-user

* chore: release v1.1.16-beta.6
2025-02-17 08:22:37 +03:00
Bereket Engida 1affe01986 chore: return username in signInUsername 2025-02-15 16:24:10 +03:00
Bereket Engida e2cbcb47ec chore: release v1.2.0-beta.8 2025-02-15 13:34:07 +03:00
Bereket Engida 9f722a9a41 chore: increase NODE_OPTIONS memory limit for build scripts 2025-02-15 13:28:41 +03:00
Bereket Engida 8c2327cc02 chore: release v1.2.0-beta.7 2025-02-15 13:18:35 +03:00
Bereket Engida d391a4853d chore: update better-call package to version 1.0.0-beta.6 and fix dependencies in lockfile 2025-02-15 13:18:29 +03:00
Bereket Engida 5d945e00d9 chore: release v1.1.19-beta.2 2025-02-15 11:58:55 +03:00
Bereket EngidaandGitHub 8ff196ec0d feat(one-tap): improve Google One Tap integration with JWT verification and improved prompt handling (#1452)
* fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins

* feat(one-tap):  improve Google One Tap integration with JWT verification and improved prompt handling

* feat(one-tap): add One Tap component for user authentication and fix prompt options
2025-02-15 11:56:06 +03:00
Bereket Engida 5dfb788838 fix(auth): use options.baseURL instead of ctx.baseURL on trusted origins 2025-02-15 09:47:14 +03:00
Stephen LacyandGitHub 2ecd3f4221 fix(oidc-plugin): user info endpoint casing to match OIDC spec (#1446) 2025-02-15 09:15:07 +03:00
Bereket Engida 4e08cc2dcf chore: release v1.1.19-beta.1 2025-02-14 21:46:23 +03:00
Bereket EngidaandGitHub 5999071ede feat(mongodb-adapter): support custom ID generation in MongoDB adapter (#1444)
* feat(mongodb-adapter): support custom ID generation in MongoDB adapter

* chore: remove log
2025-02-14 21:45:54 +03:00
Phanuwat-PaoandGitHub da2fd0b74c fix(open-api): convert path parameters to OpenAPI format (#1437) 2025-02-14 21:42:47 +03:00
Bereket Engida e531a7c33f chore: release v1.1.18 2025-02-14 18:16:13 +03:00
Bereket EngidaandGitHub b1e27fed8f feat(username): add default validation and options for validating username (#1345)
* feat: add default validation and options for validating username

* chore: release v1.1.16-beta.5

* fix: include update-user

* chore: release v1.1.16-beta.6
2025-02-14 18:15:19 +03:00
Bereket Engida 0ae2c74f88 chore: release v1.2.0-beta.6 2025-02-14 15:17:54 +03:00
Bereket Engida 2c81e5bf8f Merge branch 'main' into v1.2 2025-02-14 15:17:41 +03:00
Bereket Engida d00716455e chore: release v1.2.0-beta.5 2025-02-14 14:54:04 +03:00
Bereket Engida 56f47d85dd chore: release v1.1.18-beta.3 2025-02-14 14:05:13 +03:00
d28e4861ce feat: add total users table/collection count to admin plugin list-users endpoint (#1258)
* Added total, offset and limit return propertiest to listUsers endpoint for admin plugin. This required modifying all db adapters. Also updated the init.test.ts.snap file to reflect adding of the count function in the adapter and the countTotalUsers function in the internalAdapter.

* Resolved all issues in review. We now use count wherever possible.

* linter was complaining

* literal on adapter and 1 more test

* lint

* admin plugin listUsers pagination documentation

---------

Co-authored-by: Kinfe123 <kinfishtech@gmail.com>
2025-02-14 13:20:45 +03:00
Bereket EngidaandGitHub b26f8334b3 feat(organization): leave organization (#1239) 2025-02-14 13:12:15 +03:00