2
0
Commit Graph

36 Commits

Author SHA1 Message Date
bb4bbd8f0e 🧑‍💻 Add keycloak auth provider (#1533)
#1529
2024-05-23 15:36:30 +02:00
b5b0788115 🧑‍💻 Allow admin email to signup even if disabled
Closes #1081
2024-04-11 17:56:34 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
434b06767d 📈 (posthog) Send user last login event 2024-03-04 10:04:48 +01:00
e783bb4121 🧑‍💻 Improve sign up error message 2024-02-19 10:28:57 +01:00
7ce1a4d3d1 (radar) Remove IP ban system 2024-01-02 10:16:10 +01:00
74f5a17de0 🛂 (radar) Correctly block banned IP event when signing in with oauth providers 2023-12-27 08:11:15 +01:00
fcfbd63443 🛂 Auto ban IP on suspected bot publishing (#1095)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced sign-in error handling with specific messages for different
error types.
- Implemented IP-based restrictions for authentication and publishing
actions.

- **Bug Fixes**
- Updated the retrieval of user session information to improve
reliability.

- **Documentation**
- Updated usage instructions for `getServerSession` to reflect the new
authentication options.

- **Refactor**
- Replaced direct usage of `authOptions` with a new function
`getAuthOptions` to dynamically generate authentication options.
- Improved IP address extraction logic to handle various header formats.

- **Chores**
- Added a new `BannedIp` model to the database schema for managing
IP-based restrictions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-11 13:40:07 +01:00
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
abc3abd86b 🔒 (auth) Block disposable emails during sign up 2023-07-27 09:29:17 +02:00
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
48f074cdf7 Support specifying custom OAuth scope (#619)
For OpenID connect over OAuth, at least `openid profile` need to be set
there, but since the email is also used, the `email` scope will instruct
the OpenID provider to also deliver that.

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-07-20 11:38:21 +02:00
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
f1b643c5be 🔒 Revert ddos lockdown 2023-06-19 18:41:00 +02:00
00945bfa0c 🔒 Disable email auth 2023-06-19 15:23:21 +02:00
75d2a95d08 More translation in FR & PT (#436)
Related to #210
2023-04-06 17:31:23 +02:00
49071b73b6 🚑 (auth) Fix bad requests with getSession on server side 2023-04-03 16:42:10 +02:00
21b1d74b7e ⬆️ Upgrade dependencies 2023-04-03 15:28:16 +02:00
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
48db171c1b 🚸 Improve magic link sign in experience
New email and sign in feedback
2023-03-13 11:20:28 +01:00
0831dcf72a ♻️ (auth) Make sure new users have an email
Also fix after-auth redirections

Closes #323
2023-02-18 17:15:32 +01:00
fe2952d407 🐛 (collaboration) Fix a database rule preventing collaborators to edit a bot
Also check if new user has invitations when signup is disabled

Closes #265
2023-01-20 09:30:25 +01:00
3bc02406f3 🧑‍💻 (auth) Improve Custom OAuth set up
Now only ask for a well-known URL

Closes #229
2023-01-10 08:24:44 +01:00
4bf93b4872 ♻️ Add id token config param to custom OAuth
Closes #224
2023-01-07 17:13:08 +01:00
6cc3cbf182 🐛 (auth) Add custom oauth client id and secret params
Closes #216
2023-01-06 14:17:29 +01:00
ec7481d002 ⬆️ Upgrade dependencies
Closes #198, closes #171
2023-01-02 10:33:35 +01:00
b9d38935a6 (auth) Add custom OAuth provider support
Closes #42
2023-01-02 08:29:46 +01:00
68de7b720f 💚 Fix sentry not receiving events 2022-12-16 08:39:14 +01:00
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00