Skip to content

Commit 73bd08d

Browse files
Merge branch 'main' into release
# Conflicts: # package-lock.json # package.json # swagger/swagger.json
2 parents ef992c7 + bcccaa9 commit 73bd08d

File tree

145 files changed

+13163
-15462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+13163
-15462
lines changed

.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ OPENID_RSA_PRIVATE_KEY=
6464
# cat public_key.pem | base64
6565
OPENID_RSA_PUBLIC_KEY=
6666

67+
OPENID_REDIRECT_EXACT_MATCH=
68+
6769
# You can use `openssl req -x509 -newkey rsa:2048 -keyout key.pem -out public.crt -sha256 -days 365000 -nodes` to generate one
6870
# Base64 encoded value of public key `cat public.crt | base64`
6971
PUBLIC_KEY=
@@ -121,4 +123,7 @@ LOG_LEVEL=
121123
# FLATTEN_RAW_CLAIMS=true
122124

123125
ADMIN_PORTAL_HIDE_IDENTITY_FEDERATION=
124-
ADMIN_PORTAL_HIDE_DIRECTORY_SYNC=
126+
ADMIN_PORTAL_HIDE_DIRECTORY_SYNC=
127+
128+
# Uncomment below if you want to enable the JSON error page instead of the default HTML error page
129+
JSON_ERROR_PAGE=

.github/workflows/main.yml

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ jobs:
5555
BOXYHQ_LICENSE_KEY: 'dummy-license'
5656
strategy:
5757
matrix:
58-
node-version: [22]
59-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
58+
node-version: [24]
6059

6160
services:
6261
postgres:
63-
image: postgres:16.4
62+
image: postgres:18.3
6463
ports:
6564
- 5432:5432
6665
env:
@@ -73,51 +72,47 @@ jobs:
7372
--health-timeout 5s
7473
--health-retries 5
7574
redis:
76-
image: redis:7.4-alpine
75+
image: redis:8.6-alpine
7776
ports:
7877
- 6379:6379
7978
mongo:
80-
image: mongo:7.0.12
79+
image: mongo:8.2.6
8180
ports:
8281
- 27017:27017
8382
planetscale:
84-
image: mysql:8.4.2
83+
image: mysql:9.6.0
8584
ports:
8685
- 3308:3306
8786
env:
8887
MYSQL_DATABASE: mysql
8988
MYSQL_ROOT_PASSWORD: mysql
9089
mysql:
91-
image: mysql:8.4.2
90+
image: mysql:9.6.0
9291
ports:
9392
- 3307:3306
9493
env:
9594
MYSQL_DATABASE: mysql
9695
MYSQL_ROOT_PASSWORD: mysql
9796
maria:
98-
image: mariadb:11.5.2
97+
image: mariadb:12.2.2
9998
ports:
10099
- 3306:3306
101100
env:
102101
MARIADB_DATABASE: mysql
103102
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'yes'
104103
mssql:
105-
image: mcr.microsoft.com/azure-sql-edge:2.0.0
104+
image: mcr.microsoft.com/mssql/server:2025-latest
106105
ports:
107106
- 1433:1433
108107
env:
109108
ACCEPT_EULA: 'Y'
110109
SA_PASSWORD: '123ABabc!'
111110
dynamodb-local:
112-
image: 'amazon/dynamodb-local:2.5.2'
111+
image: 'amazon/dynamodb-local:3.3.0'
113112
ports:
114113
- '8000:8000'
115-
turso:
116-
image: ghcr.io/tursodatabase/libsql-server:latest
117-
ports:
118-
- '8080:8080'
119114
mocksaml:
120-
image: boxyhq/mock-saml:1.3.9
115+
image: boxyhq/mock-saml:1.4.2
121116
ports:
122117
- 4000:4000
123118
env:
@@ -127,9 +122,9 @@ jobs:
127122
PRIVATE_KEY: 'LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2d0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktrd2dnU2xBZ0VBQW9JQkFRRE0yUzJaUDNnRUt0WUsKWDduYmF5RnJmeTZPbVJkYU1zOFRqamxwWDhFUmxZVGxISndOS0llU1pWcmcvRGV3d3Q5bkk3ZkE4THMwS1gxYQpvdU4xelZjVEpaOWphREVVU09WM0FXVjloWS8zNzgyaTU0RVNPWHcrMTVSZzRqNnlodkhsUm4vMHROMjdsU29MCmx0V1NWay95M29Q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UZ1b3VYUnVOOGIrd3BObi9lc0c3TjZyM3o5bHltRkI1VE1Ba3kKTlBPR0dDNWdqOU0wVytGTmw4M2dIVkN6eVgxa3VyR2t1amVHM1F1b2RoYXZBaWpqUzdnNW5Nb1J3OEpwcitUdwp4NEtKMC92ZEx3S0JnUURBSjVHMXNweXBHVjJ0YTRZSVdnSTZvekJVQ0w2UTJPQnVGeVpTcTQwOStuTlQrRW44Ck01Mi9TQm9talQzV1NEVFd0Y1l6NHNuRmp2RnRERXkxOVFLTjhiMllIUXhXQkNPUHA5a2VQQ2hsSSt4SzRLc1YKQi9DNVBNK1VhYlNCeE9iWk5PbU0vMWo1ZWttNjFFWFBtdVRUeWdCZG00ZGoyQ2VJMnNQN3FBblZtUUtCZ1FDZgp0T0N5OE9ETWxLWG1tTnNyQzNUOWhkeE9KQlBDU3haMmhRck5WUkZMSlB4WG5RU0pNTkRZcEptMjdPQnNNNm5uCnV5QSs4SVhoQlc0Lzk3M3FRK0htVXExK05rN3VIZURHSStKUEpoN2w1OEY3SFlaYWxhNFdsbTZ4azVjMm9WaHcKSUVoclUzNkpFM0lxK1ZyREFNazhlS3hyUGNvblc2cllObU4xQ0M4eG5RS0JnUURiOGZTeDBQcHg1WisxL2tCMwpxVGc2RDJYY1YyZGVWNFdsOS9JQ2owRHFqaGpXekJjaThuTjUyb3ZoSmVXcFVxWnJ1eStVWTg2cVRuK09oNGVJClNkZFRBb0F2cU1sL2gzVzdCRUdad2NsclRJSWRqTHVmK0FuRGN5S0lKY21CUG9JZGsydzZ4dkNWczJqbmdEOTMKcjZ0R3VoNHlvM2pIRkRTR0Y3dDdCRk5RSEE9PQotLS0tLUVORCBQUklWQVRFIEtFWS0tLS0tCg=='
128123

129124
steps:
130-
- uses: actions/checkout@v4
125+
- uses: actions/checkout@v6
131126
- name: Use Node.js ${{ matrix.node-version }}
132-
uses: actions/setup-node@v4
127+
uses: actions/setup-node@v6
133128
with:
134129
always-auth: true
135130
node-version: ${{ matrix.node-version }}
@@ -139,13 +134,13 @@ jobs:
139134
check-latest: true
140135
- name: Run docker-compose up
141136
id: docker_compose
142-
uses: isbang/compose-action@v2.2.0
137+
uses: isbang/compose-action@v2.5.0
143138
with:
144139
compose-file: './_dev/docker-compose-cockroachdb.yml'
145140
- run: node -v
146141
- run: npm -v
147142
- name: Setup Next.js cache
148-
uses: actions/cache@v4
143+
uses: actions/cache@v5
149144
with:
150145
path: |
151146
~/.npm
@@ -170,7 +165,7 @@ jobs:
170165
- name: e2e tests
171166
run: npx ts-node --log-error e2e/support/pretest.ts && npx playwright test -x
172167
- name: Upload e2e trace
173-
uses: actions/upload-artifact@v4
168+
uses: actions/upload-artifact@v7
174169
if: ${{ !cancelled() }}
175170
with:
176171
name: playwright-report
@@ -213,7 +208,7 @@ jobs:
213208
runs-on: ubuntu-latest
214209
steps:
215210
- name: Check Out Repo
216-
uses: actions/checkout@v4
211+
uses: actions/checkout@v6
217212

218213
- run: echo ${{ needs.ci.outputs.NPM_VERSION }}
219214
- run: echo ${{ needs.ci.outputs.IMAGE_PATH }}
@@ -224,26 +219,26 @@ jobs:
224219

225220
- name: Set up Docker Buildx
226221
id: buildx
227-
uses: docker/setup-buildx-action@v3
222+
uses: docker/setup-buildx-action@v4
228223

229224
- name: Set up QEMU
230-
uses: docker/setup-qemu-action@v3
225+
uses: docker/setup-qemu-action@v4
231226

232227
- name: Login to Docker Hub
233-
if: github.ref == 'refs/heads/release'
234-
uses: docker/login-action@v3
228+
if: github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/beta-v')
229+
uses: docker/login-action@v4
235230
with:
236231
username: ${{ secrets.DOCKER_HUB_USERNAME }}
237232
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
238233

239234
- name: Build and push
240235
id: docker_build
241-
uses: docker/build-push-action@v6
236+
uses: docker/build-push-action@v7
242237
with:
243238
context: ./
244239
file: ./Dockerfile
245240
platforms: linux/amd64,linux/arm64
246-
push: ${{ github.ref == 'refs/heads/release' }}
241+
push: ${{ github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/beta-v') }}
247242
tags: ${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.PUBLISH_TAG }},${{ needs.ci.outputs.IMAGE_PATH }}:${{ steps.slug.outputs.SHA7 }},${{ needs.ci.outputs.IMAGE_PATH }}:${{ needs.ci.outputs.NPM_VERSION }}
248243

249244
- name: Image digest
@@ -298,12 +293,12 @@ jobs:
298293
sbom-artifact-match: ".*\\.cyclonedx$"
299294
- name: Download artifact for SPDX Report
300295
if: github.ref == 'refs/heads/release'
301-
uses: actions/download-artifact@v4
296+
uses: actions/download-artifact@v8
302297
with:
303298
name: npm_sbom.spdx
304299
- name: Download artifact for CycloneDx Report
305300
if: github.ref == 'refs/heads/release'
306-
uses: actions/download-artifact@v4
301+
uses: actions/download-artifact@v8
307302
with:
308303
name: npm_sbom.cyclonedx
309304
- name: Remove older SBOMs
@@ -341,12 +336,12 @@ jobs:
341336
run: rm -rf sbom*.* || true
342337
- name: Download artifact for SPDX Report
343338
if: github.ref == 'refs/heads/release'
344-
uses: actions/download-artifact@v4
339+
uses: actions/download-artifact@v8
345340
with:
346341
name: sbom.spdx
347342
- name: Download artifact for CycloneDx Report
348343
if: github.ref == 'refs/heads/release'
349-
uses: actions/download-artifact@v4
344+
uses: actions/download-artifact@v8
350345
with:
351346
name: sbom.cyclonedx
352347

@@ -378,12 +373,12 @@ jobs:
378373
sbom-artifact-match: ".*\\.cyclonedx$"
379374
- name: Download artifact for SPDX Report [Docker]
380375
if: github.ref == 'refs/heads/release'
381-
uses: actions/download-artifact@v4
376+
uses: actions/download-artifact@v8
382377
with:
383378
name: docker_sbom.spdx
384379
- name: Download artifact for CycloneDx Report [Docker]
385380
if: github.ref == 'refs/heads/release'
386-
uses: actions/download-artifact@v4
381+
uses: actions/download-artifact@v8
387382
with:
388383
name: docker_sbom.cyclonedx
389384
- name: Create/Clear folder [Docker]
@@ -441,17 +436,16 @@ jobs:
441436

442437
strategy:
443438
matrix:
444-
node-version: [22]
439+
node-version: [24]
445440
package: [npm, internal-ui]
446-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
447441

448442
steps:
449-
- uses: actions/checkout@v4
443+
- uses: actions/checkout@v6
450444
- run: echo ${{ needs.ci.outputs.NPM_VERSION }}
451445
- run: echo ${{ needs.ci.outputs.PUBLISH_TAG }}
452446

453447
- name: Use Node.js ${{ matrix.node-version }}
454-
uses: actions/setup-node@v4
448+
uses: actions/setup-node@v6
455449
with:
456450
always-auth: true
457451
node-version: ${{ matrix.node-version }}

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ npm/migration/**
88
npm/dist/**
99
npm/.nyc_output/**
1010
.vscode/**
11+
next-env.d.ts
1112

1213
npm/package-lock.json
1314

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ individual problems. If Ory open source software is used in production in a
4747
for-profit company or enterprise environment, we mandate a paid support contract
4848
where Ory is obligated under their service level agreements (SLAs) to offer a
4949
defined level of availability and responsibility. For more information about
50-
paid support please contact us at sales@ory.sh.
50+
paid support please contact us at sales@ory.com.
5151

5252
## Enforcement Responsibilities
5353

@@ -73,7 +73,7 @@ representative at an online or offline event.
7373

7474
Instances of abusive, harassing, or otherwise unacceptable behavior may be
7575
reported to the community leaders responsible for enforcement at
76-
[office@ory.sh](mailto:office@ory.sh). All complaints will be reviewed and
76+
[office@ory.com](mailto:office@ory.com). All complaints will be reviewed and
7777
investigated promptly and fairly.
7878

7979
All community leaders are obligated to respect the privacy and security of the

0 commit comments

Comments
 (0)