Commit Graph
4400 Commits
Author SHA1 Message Date
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 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 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 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
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
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 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 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 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 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 af2af842a6 chore: fix organization tests 2025-02-23 09:58:56 +03:00
Rahul MishraandBereket Engida d8c2a9bf12 chore: fix cjs export for oauth-proxy plugin (#1530) 2025-02-23 09:18:40 +03:00
Rahul MishraandGitHub f57d259990 chore: enable CI for all pull requests (#1543) 2025-02-23 08:47:14 +03:00
Bereket Engida 4516b0fadb chore: release v1.2.0-beta.12 2025-02-22 21:57:46 +03:00
27401ac683 feat: base64 conversion without Buffer (#1523)
* fix(organizaiton): restrict admins from removing or updating owners or members with creator roles (#1520)

* feat: base64 conversion without Buffer

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-22 20:08:43 +03:00
Bereket Engida 1a0d5e21f5 Merge branch 'main' into v1.2 2025-02-22 20:06:23 +03:00
Rahul MishraandGitHub 66e313cc7a chore: fix cjs export for oauth-proxy plugin (#1530) 2025-02-22 00:44:21 +03:00
Bereket Engida 316e717543 chore: release v1.1.20-beta.1 2025-02-21 17:07:35 +03:00
Bereket Engida 9653f44a0f fix: add callback URL to update email verification link 2025-02-21 17:06:40 +03:00
Bereket Engida 3ca6c4276f fix: add email verification for in place email updates 2025-02-21 16:58:52 +03:00
Bereket Engida 41453b930a chore: lint 2025-02-21 16:27:26 +03:00
Rahul MishraandGitHub 419a86a773 chore: fix type exports and sync dep versions to improve build times (#1528) 2025-02-21 16:26:50 +03:00
Rahul MishraandGitHub 840a052d91 chore: export captcha plugin (#1525) 2025-02-21 12:32:24 +03:00
Bereket Engida 7fc8d803dd chore: update better-call to version 1.0.2 2025-02-21 10:12:48 +03:00
Bereket EngidaandGitHub 28cc66bff7 fix(organizaiton): restrict admins from removing or updating owners or members with creator roles (#1520) 2025-02-21 02:15:51 +03:00
Bereket Engida 0324e6e8bc chore: release v1.2.0-beta.11 2025-02-21 01:26:45 +03:00
Bereket Engida 0196304e5b Merge remote-tracking branch 'origin/v1.2' into v1.2 2025-02-21 01:26:22 +03:00
Bereket Engida cccb6fbaa3 Merge branch 'main' into v1.2 2025-02-21 01:20:54 +03:00
Bereket Engida d26e600c66 chore: release v1.1.19 2025-02-21 00:58:23 +03:00
Bereket Engida 848b47f567 chore:lint 2025-02-20 23:27:17 +03:00
TedandGitHub 15f97ff0ff feat(oidc): allow header auth for token endpoint (#1484) 2025-02-20 23:21:16 +03:00
5f6cbe9478 fix(email-otp): don’t save email address as user name (#1519)
Co-authored-by: benkingcode <ben@lionfeet.com>
2025-02-20 23:17:12 +03:00
Bereket Engida 35e300b005 refactor: add overrideAll option for create session 2025-02-20 22:30:08 +03:00
Bereket Engida 4d324f433d chore: lint 2025-02-20 21:58:56 +03:00
Arda SoyturkandGitHub b9ccfff628 feat(cli): add support for auth.server.ts (#1456) 2025-02-20 21:54:22 +03:00