Commit Graph
6905 Commits
Author SHA1 Message Date
Ignat S.andGitHub 388942ebaa fix: correct option name in the reset password error message (#1573)
Seems like `sendResetPasswordToken` isn't seen anywhere esle in the project and is supposed to be just `sendResetPassword`.
2025-02-25 16:15:31 +03:00
Bereket Engida df2f5a4c79 chore: release v1.1.22-beta.2 v1.1.22-beta.2 2025-02-25 13:43:16 +03:00
Bereket Engida c3a44b5563 docs: update security policy 2025-02-25 13:43:10 +03:00
Bereket Engida 16131fa8bd chore(deps): upgrade vitest to v3.0.7 and update related dependencies 2025-02-25 12:19:13 +03:00
PitonsSkipperandGitHub 1ecc717483 fix: add last semi-colon to the compiled migrations to support Cloudflare D1 migration (#1569)
* Update get-migration.ts

Add last semi-colon to the compiled migrations

* Update test snapshot migrations.sql
2025-02-25 12:12:02 +03:00
Bereket EngidaandGitHub 1a3aff29a7 feat(client): add basePath option on createAuthClient (#1571)
* chore(dependencies): update @better-fetch/fetch to 1.1.15

* feat(client): add basePath option
2025-02-25 10:38:57 +03:00
Bereket EngidaandBereket Engida c7d348a565 fix(two-factor): should respect remember me value when a user logins in with 2fa (#1566)
* fix(two-factor): respect remember me value when using 2fa login

* fix(two-factor): clean up temporary cookies
2025-02-25 09:52:38 +03:00
Bereket EngidaandGitHub da1ee9e2e6 fix(two-factor): should respect remember me value when a user logins in with 2fa (#1566)
* fix(two-factor): respect remember me value when using 2fa login

* fix(two-factor): clean up temporary cookies
2025-02-25 09:47:10 +03:00
Bereket Engida b469339996 ci: configure push event branches for workflow 2025-02-25 09:43:12 +03:00
Bereket Engida 52ed183bdc chore: release v1.1.22-beta.1 v1.1.22-beta.1 2025-02-24 23:50:04 +03:00
Bereket Engida 79b8700d36 fix(origin-check): support callback URLs with query parameters 2025-02-24 23:38:50 +03:00
Bereket Engida 474b01e0fb chore: release v1.2.0-beta.16 v1.2.0-beta.16 2025-02-24 22:26:06 +03:00
Bereket Engida 814ac503d4 Merge branch 'main' into v1.2 2025-02-24 22:25:53 +03:00
MaxwellandGitHub cdedfd2582 docs: add author avatar on community plugins (#1565) 2025-02-24 22:23:44 +03:00
Bereket Engida 4c5f0c279f chore: release v1.1.21 v1.1.21 2025-02-24 22:13:05 +03:00
Bereket Engida ee0d6be569 fix(open-api): add authentication schemes 2025-02-24 22:11:55 +03:00
Bereket Engida ade3974ed5 chore: release v1.1.21-beta.1 v1.1.21-beta.1 2025-02-24 21:57:18 +03:00
Bereket Engida b381cac7aa fix(origin-check): add tests for callback URLs with malicious patterns 2025-02-24 21:56:39 +03:00
Bereket Engida e5d148a0b0 fix(kysely-adapter): handle field conversion on where clauses 2025-02-24 20:33:00 +03:00
Leonardo E. DominguezandGitHub 8a820898e8 fix: oauth failing when using drizzle adapter (#1563) 2025-02-24 19:53:24 +03:00
Bereket Engida 5812195479 chore: release v1.2.0-beta.15 v1.2.0-beta.15 2025-02-24 14:55:49 +03:00
Bereket Engida c410f6dae0 Merge branch 'main' into v1.2 2025-02-24 14:55:44 +03:00
Bereket Engida ddebd0358d chore: release v1.1.20 v1.1.20 2025-02-24 14:54:02 +03:00
Bereket Engida da62e635be fix(session): include expiresAt in session data for HMAC verification 2025-02-24 12:38:25 +03:00
Bereket Engida 1fadaeecfa chore: release v1.1.20-beta.5 v1.1.20-beta.5 2025-02-24 12:28:59 +03:00
Bereket Engida 790a942933 chore: release v1.1.20-beta.4 2025-02-24 12:28:55 +03:00
Bereket Engida 795ff4269a test(origin-check): add test for callback URL with double slashes 2025-02-24 12:28:55 +03:00
Bereket Engida 24659aefc3 fix(origin-check): prevent URLs with double slashes from being trusted 2025-02-24 12:28:55 +03:00
Bereket Engida d9c57e1f56 fix(origin-check): exclude URLs with double slashes 2025-02-24 12:28:55 +03:00
Bereket Engida 89020e058c Merge branch 'main' into v1.2 2025-02-24 11:41:29 +03:00
Zohaib AkberandGitHub 84dc11bb3e docs(fix): session secondary storage value for redis (#1359) 2025-02-24 08:10:11 +03:00
Bereket Engida 3009797045 chore(docs): fix syntax error on code example 2025-02-24 08:09:44 +03:00
8ba7a9ceae feat(email-otp): add option to set a function to generate OTPs (#1472)
* add option to create a otp

* add description

* use tabs instead of spaces

* rename create to generate and replace all uses fo generateRandomString

* remove length

* fix type in forgot-password

* add generateOTP option and tests for email OTP functionality

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-24 08:02:04 +03:00
JanandGitHub 5a537c5408 docs: added missing column in 2fa plugin schema (#1552)
* Added missing column in 2fa plugin schema documentation

* Formatting
2025-02-24 00:34:29 +03:00
Kamil KisielaandGitHub 6c67ea1112 feat(sso): sign in using the providerId (#1533) 2025-02-24 00:13:01 +03:00
Bereket Engida 2095c0e4dd chore: release v1.2.0-beta.14 v1.2.0-beta.14 2025-02-24 00:06:30 +03:00
612120cc24 feat: add access control to admin plugin (#1424)
* feat: add custom roles

* chore: remove unused import

* docs: add access control to admin plugin

* feat: add custom roles

* fix: update formatting to fix lint error

* fix: small fixes/optimizations

* fix: linting

* feat: make ready for v1.2

* fix: linting

* fix: remove incorrect negation in success check

* docs: update incorrect function and variable names

* fix: resolved merge conflicts

* fix: merge conflicts

* fix: linting

* refactor: make role field optional again

* refactor(access): improve auth logic and add tests for access control

* chore: fix linting

* refactor(admin): enhance access control types and improve admin client functionality

* chore: fix types

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-24 00:06:06 +03:00
Bereket Engida cd96ca246e chore: correct syntax error in package.json 2025-02-23 23:54:08 +03:00
Bereket Engida 8fb384da21 chore: release v1.2.0-beta.13 v1.2.0-beta.13 2025-02-23 23:49:49 +03:00
Bereket Engida 9d2af48f04 Merge branch 'main' into v1.2 2025-02-23 23:49:39 +03:00
Bereket Engida f822f0a246 chore: release v1.1.20-beta.3 v1.1.20-beta.3 2025-02-23 23:43:00 +03:00
Bereket Engida 6440a1074d fix(one-tap): remove random string generator for nonce to fix expo client 2025-02-23 23:42:52 +03:00
Bereket Engida 73297b3be6 fix(one-tap): update import path for generateRandomString to fix unsupported crypto import for react native 2025-02-23 12:43:04 +03:00
Bereket Engida 12ed731b6c chore: release v1.1.20-beta.2 v1.1.20-beta.2 2025-02-23 12:41:39 +03:00
Bereket Engida ac848bb9f4 fix(one-tap): update import path for generateRandomString to fix unsupported crypto import for react native 2025-02-23 12:41:26 +03:00
Bereket Engida 524134065b chore: run ci on all push 2025-02-23 10:01:37 +03:00
Bereket Engida af2af842a6 chore: fix organization tests 2025-02-23 09:58:56 +03:00
MaxwellandBereket Engida c7ed3b5565 docs(fix); sessionMiddleware import path in plugins docs (#1544)
Thanks @perkinsjr !
2025-02-23 09:18:41 +03:00
Hussein RajiandBereket Engida df50012a76 docs: fix correct "set password" code snippet (#1537) 2025-02-23 09:18:41 +03:00
MaxwellandBereket Engida 8fb25bdd6a docs(rename): node to express in integration docs (#1535) 2025-02-23 09:18:41 +03:00