Commit Graph

2459 Commits

Author SHA1 Message Date
Levi Gunsallus
f2279d59e2 docs: fix casing in features (#1449) 2025-02-17 08:23:56 +03:00
Stephen Lacy
8d9fa3bafb fix(oidc-plugin): user info endpoint casing to match OIDC spec (#1446) 2025-02-17 08:23:56 +03:00
Bereket 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-Pao
06419fff10 fix(open-api): convert path parameters to OpenAPI format (#1437) 2025-02-17 08:23:41 +03:00
Maxwell
9a0b86a7fe docs: first page shouldn't show nav button to go to prev page (#1442) 2025-02-17 08:23:41 +03:00
Bereket 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 v1.2.0-beta.8 2025-02-15 13:34:07 +03:00
Bereket Engida
192831ae5a chore: release v1.2.0-beta.7 2025-02-15 13:33:40 +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 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
0ae2c74f88 chore: release v1.2.0-beta.6 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 v1.2.0-beta.5 2025-02-14 14:54:04 +03:00
Bereket Engida
56f47d85dd chore: release v1.1.18-beta.3 v1.1.18-beta.3 2025-02-14 14:05:13 +03:00
D3vision
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 Engida
b26f8334b3 feat(organization): leave organization (#1239) 2025-02-14 13:12:15 +03:00
D3vision
e647040b14 feat: add Roblox social provider (#1249)
* Implemented Roblox social provider + documentation + icon for builder

* linter didn't like my svg and some of my other formatting

* and now the linter is finally happy

* made discord scope option overwrite default scopes, this way I dont need to have a users' email

* Revert "made discord scope option overwrite default scopes, this way I dont need to have a users' email"

This reverts commit 35b29e7957.

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-14 13:11:50 +03:00
Bereket Engida
b8d20c5e7b chore: lint 2025-02-14 12:51:29 +03:00
Maged Ibrahim
1edfb9f698 docs: change google logo for colors compliance (#1439) 2025-02-14 12:42:30 +03:00
Bereket Engida
d701a926f8 docs: add example for linking OAuth accounts 2025-02-14 12:41:10 +03:00
Bereket Engida
a609acb799 feat(generic-oauth): oAuth2 link account (#1208) 2025-02-14 12:38:40 +03:00
Bereket Engida
047d677966 feat: support stroring dispaly username to store un-normalized username (#1204)
* feat: support stroring dispaly username to store un-normalized username

* test: update snapshot
2025-02-14 12:33:24 +03:00
Bereket Engida
f7a49404ab feat(admin): set user password (#1203) 2025-02-14 12:28:26 +03:00
Bereket Engida
eecaac4107 docs(phone-number): add forget password flow documentation with OTP code 2025-02-14 12:27:37 +03:00
Bereket Engida
3766bea979 feat(phone-number): add reset password functionality with phone number (#1202) 2025-02-14 12:25:36 +03:00
Bereket Engida
73a6897c08 docs: add section on checking if organization slug is taken 2025-02-14 12:24:54 +03:00
Bereket Engida
51e2b16a10 feat: check organization slug (#1201) 2025-02-14 12:22:32 +03:00
Bereket Engida
2116ace963 chore: release v1.1.18-beta.2 v1.1.18-beta.2 2025-02-14 11:40:40 +03:00
Bereket Engida
00a07824a2 fix: database hooks should use Partial types to avoid overwriting previous hooks returns 2025-02-14 11:34:42 +03:00
Bereket Engida
42ff704c6d docs: update session management examples 2025-02-14 11:26:45 +03:00
Bereket Engida
07d4805611 fix: use Partial for body and query in InferRoute type 2025-02-14 11:26:45 +03:00
Bereket Engida
193df402fa fix: log error in handleOAuthUserInfo 2025-02-14 11:26:45 +03:00
Maxwell
8c31eaea18 feat: support function for trusted origins configuration (#1151)
* feat: support function for trusted origins configuration

- Updated the trusted origins option to accept either an array or a function returning an array of origins.
- Modified middleware and utility functions to handle function-based trusted origins.
- Enhanced documentation and types to reflect the new trusted origin configuration capabilities.
- Integrated changes in the Expo plugin for consistent trusted origin handling across environments.

* pass request object and support promise returns

* fix types

* chore: lint

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-14 11:19:44 +03:00
Bereket Engida
4013ca0214 refactor: define CaptchaOptions interface 2025-02-14 10:35:33 +03:00
Bereket Engida
17ab7946d5 docs: correct import statement for Captcha Plugin in documentation 2025-02-14 10:26:59 +03:00
Bereket Engida
cb691e78bc docs: update captcha docs and fix sidebar svg 2025-02-14 10:18:21 +03:00
Bereket Engida
1efaf25df0 docs: update JWT plugin documentation to include token retrieval methods 2025-02-14 10:06:32 +03:00
Bereket Engida
1a48206100 feat: implement JWT token generation and retrieval with encryption support 2025-02-14 10:01:22 +03:00
Rizvan Nukhtarov
700d392759 feat: add VK ID social provider (#1013)
* feat: add VK ID social provider

* lint

* remove data

* fix emailVerified property

---------

Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
2025-02-14 09:17:14 +03:00
Oscar
363ca39db7 feat: Captcha Plugin with multiple providers (#957)
* feat: create Cloudflare Turnstile middleware plugin

* fix: middleware returns new Response & working unit tests

* chore: renamed plugin to cloudflare-turnstile

* docs: adds Cloudflare Turnstile plugin documentation

* docs: improves Cloudflare Turnstile's docs

* feat: move to generic captcha plugin, supporting multiple providers
2025-02-14 09:11:19 +03:00
Maxwell
c4f89adbcd docs: add example how to update password on the server (#831)
* add(docs): demo code to set password on the server.

* fix(docs): update password

---------

Co-authored-by: Bereket Engida <bekacru@gmail.com>
2025-02-14 09:04:02 +03:00
Ted
b3371272fc feat: custom generate token function for magic links (#1362) 2025-02-14 08:50:36 +03:00
Bereket Engida
0ea9c29cc8 fix(expo): headers should be retrieved from APIError in OAuth hook 2025-02-14 08:18:07 +03:00
Bereket Engida
909260ebf6 docs: remove commented-out code in passkey documentation 2025-02-12 17:38:59 +03:00
Bereket Engida
14407c0e6a docs: remove commented-out code in passkey documentation 2025-02-12 17:38:22 +03:00
Bereket Engida
52fa176d9f chore: release v1.1.18-beta.1 v1.1.18-beta.1 2025-02-12 13:33:45 +03:00
Bereket Engida
8591fa1e18 chore: release v1.2.0-beta.4 v1.2.0-beta.4 2025-02-12 12:51:29 +03:00
Bereket Engida
29f2efb1aa fix: update @better-fetch/fetch to version 1.1.14-beta.2 and clean up client options 2025-02-12 12:51:23 +03:00