Commit graph

14 commits

Author SHA1 Message Date
Kamil Kisiela
fcec5f7b18
Pass errors coming from the external composition to the end-user (#1132) 2023-01-25 16:59:47 +01:00
Dotan Simha
44924b249b
Drop build-local scripts, build Workers for all targets, adjust turbo cache (#1105) 2023-01-23 17:44:53 +02:00
Denis Badurina
8287a51255
prettier should be responsible for import sorting instead of eslint (#1027) 2023-01-23 10:30:38 +01:00
renovate[bot]
99eff44afa
chore(deps): update dependency fastify to v3.29.5 (#1096)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-22 10:48:21 +02:00
Dotan Simha
20edc8c5e5
Partial dependencies upgrade and cleanup for old packages (#904) 2022-12-28 00:36:08 +02:00
Dotan Simha
6267dff8c9
Upgrade to Node 18 (#818) 2022-12-21 10:25:00 +02:00
Kamil Kisiela
a031bb642c
Add current month to the date ranges in the admin panel (#708) 2022-11-29 12:25:51 +01:00
renovate[bot]
1afe0ec73a
Update dependency @theguild/prettier-config to v1 (#676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-11-24 10:00:41 +00:00
renovate[bot]
44f47ec8e0
Update Apollo GraphQL packages (#650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-23 10:26:00 +01:00
Kamil Kisiela
e116841a73
Fix ESM/CJS (#668)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
2022-11-22 17:58:48 +01:00
renovate[bot]
ae3e73de6a
Update dependency fastify to v3.29.4 [SECURITY] (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-22 11:31:53 +01:00
Laurin Quast
991c82693b
feat: OIDC organisation integration (#524)
* feat: support login via okta

* add deployment config

* feat: automatically start okta login when visiting /auth with okta provider query parameter

* remove trailing slash from base url

* laurin pls

* ...

* adjust deployment url

* we dont need this

* docs: document how to enabled Google and GitHub social login (#511)

* docs: document how to enabled Google and GitHub social login

* Apply suggestions from code review

* Apply suggestions from code review

* docs: add Okta instructions

* fix typo

* add database migration

* feat: env decoding

* auto generate id

* add generates types for the postgres table

* implement crud graphql fields for the oidc integration entites

* add unique constraint for the oidc domain column

* use correct sql query for updating an oidc integration

* return organization from deleteOIDCIntegration ok result

* add crud forms to the settings page

* update integration test fixture value

* drop unique constraint for oidc_integrations.domain as this would allow a malicous user to block another account from using a domain

* move notice to isolated component

* apply url normalization in a central place

* implement supertokens provider and overrides for dynamic oidc provider integrations

* relocate code to correct files

* prettify oidc crud forms

* replace Query.isOIDCIntegrationFeatureEnabled with the Organization.viewerCanManageOIDCIntegration field

* do not show oidc integrations for personal organizations + disable crud endpoints if the feature is disabled

* load oidc integration for the supertokens flow via trpc from the server

* prepare encryption secret within constructor

* add user to organization upon oidc login

* login via oidc does not create a personal organization

* redirect oidc user to oidc organization

* disallow oidc users to create an organization

* disallow oidc accounts joining another organization

* add test for updating an oidc integration

* enhance ui

* add documentation for OIDC SSO

* add more tests

* import Callout component

* update snapshots

* rename field User.isLinkedToOIDCIntegration to User.canSwitchOrganization to be more decriptive

* add traling new line

* gracefully handle unique constraint

* upgrade supertokens-auth-react and adjust the code in order to remove the global preApiHook

* sync image versions with tests

* remove obsolete comment

* rename database column

* bruv

* add test for oidc user deletion
2022-11-03 16:45:17 +01:00
Dimitri POSTOLOV
12ceda69dc
Use pnpm instead of yarn (#477)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
Co-authored-by: Denis Badurina <denis@domonda.com>
2022-11-01 02:11:53 +02:00
Kamil Kisiela
6f7c51a62f
External schema composition (#373) 2022-09-16 13:30:50 +02:00