Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rename index in down migration #3910

Closed
wants to merge 390 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
390 commits
Select commit Hold shift + click to select a range
807cbd2
fix: use correct tracer in middleware (#3567)
aeneasr Jul 10, 2023
551c359
autogen(docs): regenerate and update changelog
ory-bot Jul 10, 2023
466e66b
feat: add more resolution to events and collect client metrics (#3568)
aeneasr Jul 10, 2023
be85c29
autogen(docs): regenerate and update changelog
ory-bot Jul 10, 2023
59ec76b
chore(deps): bump semver from 5.7.0 to 5.7.2 (#3569)
dependabot[bot] Jul 12, 2023
9fd59e2
chore(deps): bump semver from 5.7.0 to 5.7.2 in /test/e2e/oauth2-clie…
dependabot[bot] Jul 12, 2023
425c977
autogen(docs): regenerate and update changelog
ory-bot Jul 12, 2023
749eb8d
feat: add `hydra migrate status` subcommand (#3579)
alnr Jul 25, 2023
0072ddf
autogen(docs): regenerate and update changelog
ory-bot Jul 25, 2023
dfb129a
fix: restore ability to override auth and token urls for exemplary ap…
dpeckett Aug 3, 2023
8900cbb
feat: allow additional SQL migrations (#3587)
alnr Aug 3, 2023
c30de7f
autogen(docs): regenerate and update changelog
ory-bot Aug 3, 2023
3c5c126
chore(deps): bump tough-cookie, @cypress/request and wait-on (#3592)
dependabot[bot] Aug 3, 2023
eb89af7
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 3, 2023
219a7c0
feat: add support for OIDC VC (#3575)
hperl Aug 4, 2023
339bf40
autogen(docs): regenerate and update changelog
ory-bot Aug 4, 2023
d5099cb
chore: remove fosite branch override (#3599)
hperl Aug 7, 2023
ea40d44
autogen(docs): regenerate and update changelog
ory-bot Aug 7, 2023
1a1f504
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 7, 2023
0b56f53
feat: bump fosite and add some more tracing
alnr Aug 2, 2023
a21e945
fix: only query access tokens by hashed signature
alnr Aug 3, 2023
6741a49
fix: deflake ttl test
alnr Aug 8, 2023
598c21d
autogen(docs): regenerate and update changelog
ory-bot Aug 8, 2023
8eed306
feat: allow Go migrations (#3602)
alnr Aug 10, 2023
71d1853
autogen(docs): regenerate and update changelog
ory-bot Aug 10, 2023
c72a316
feat: allow to disable claim mirroring (#3563)
dastein1 Aug 11, 2023
5704640
autogen(docs): regenerate and update changelog
ory-bot Aug 11, 2023
1d73d83
fix: reject invalid JWKS in client configuration / dependency cleanup…
alnr Aug 11, 2023
dc878b8
autogen(docs): regenerate and update changelog
ory-bot Aug 11, 2023
c004fee
feat: propagate logout to identity provider (#3596)
hperl Aug 14, 2023
e586cc2
autogen(docs): regenerate and update changelog
ory-bot Aug 14, 2023
48d5df4
chore: add hperl as codeowner (#3607)
hperl Aug 15, 2023
a547a74
autogen(docs): regenerate and update changelog
ory-bot Aug 15, 2023
6f592fc
fix: enable CORS with hot-reloaded origins (#3601)
zepatrik Aug 16, 2023
330530d
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 16, 2023
9f1c8d1
fix: add kid to verifiable credential header (#3606)
hperl Aug 16, 2023
1f1121c
fix: add exceptions for internal IP addresses (#3608)
hperl Aug 16, 2023
254a21b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 16, 2023
7cfba84
autogen(docs): regenerate and update changelog
ory-bot Aug 16, 2023
01ff9da
fix: docker build (#3609)
hperl Aug 16, 2023
6631c21
autogen: render config schema
ory-bot Aug 16, 2023
ad8a4ba
autogen: pin v2.2.0-rc.3 release commit
aeneasr Aug 16, 2023
b346f90
autogen(docs): generate and bump docs
ory-bot Aug 16, 2023
800ce0a
autogen: add v2.2.0-rc.3 to version.schema.json
ory-bot Aug 16, 2023
0176adc
fix: verifiable credentials JWT format (#3614)
hperl Aug 23, 2023
5121dba
autogen(docs): regenerate and update changelog
ory-bot Aug 23, 2023
af0d477
fix: handle subject mismatch gracefully (#3619)
hperl Aug 25, 2023
27f2ef5
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 25, 2023
7473259
autogen(docs): regenerate and update changelog
ory-bot Aug 25, 2023
d1f9ba8
fix: correct id token type in token exchange response (#3625)
aeneasr Sep 5, 2023
35d6295
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 5, 2023
4b8c971
autogen(docs): regenerate and update changelog
ory-bot Sep 5, 2023
5dd7d30
feat: re-enable legacy client IDs (#3628)
zepatrik Sep 19, 2023
e1636d1
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 19, 2023
9e9be2d
autogen(docs): regenerate and update changelog
ory-bot Sep 19, 2023
3615e3d
chore: bump docker base images (#3632)
zepatrik Sep 19, 2023
5c8e792
feat: add authentication options to hooks (#3633)
zepatrik Sep 25, 2023
3e8413e
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 25, 2023
ada59a5
autogen(docs): regenerate and update changelog
ory-bot Sep 25, 2023
19857d2
feat: add prompt=registration (#3636)
hperl Sep 29, 2023
cdc0bec
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 29, 2023
89b1b1b
autogen(docs): regenerate and update changelog
ory-bot Sep 29, 2023
23c8194
chore(deps): bump debug from 3.2.6 to 3.2.7 (#3640)
dependabot[bot] Oct 5, 2023
a0c06ec
chore(deps): bump @cypress/request and cypress (#3641)
dependabot[bot] Oct 5, 2023
cde3a30
feat: remove flow cookie (#3639)
hperl Oct 16, 2023
af859fe
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 16, 2023
2dc52b4
autogen(docs): regenerate and update changelog
ory-bot Oct 16, 2023
88b0b7c
feat: allow injecting extra fosite strategies (#3646)
hperl Oct 17, 2023
efc00a8
chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#3645)
dependabot[bot] Oct 17, 2023
dedcf5b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 17, 2023
e4c160f
autogen(docs): regenerate and update changelog
ory-bot Oct 17, 2023
f0501d2
docs: fix typo (#3649)
MilesChou Oct 19, 2023
db4fd7d
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 19, 2023
0a5e043
autogen(docs): regenerate and update changelog
ory-bot Oct 19, 2023
083c90d
chore: build tag (#3613)
aeneasr Oct 24, 2023
f1708f2
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 24, 2023
6cbe089
autogen(docs): regenerate and update changelog
ory-bot Oct 24, 2023
5f41949
feat: remove login session cookie during consent flow (#3667)
hperl Nov 15, 2023
11c8c72
autogen(openapi): regenerate swagger spec and internal client
ory-bot Nov 15, 2023
7861702
autogen(docs): regenerate and update changelog
ory-bot Nov 15, 2023
24c3be5
fix: improved SSRF protection (#3669)
alnr Nov 22, 2023
fe260d1
autogen(docs): regenerate and update changelog
ory-bot Nov 22, 2023
5133cf9
fix: handle logout double-submit gracefully (#3675)
hperl Dec 13, 2023
9389773
autogen(openapi): regenerate swagger spec and internal client
ory-bot Dec 13, 2023
22f0119
fix: dropped persistence/sql test errors (#3670)
alrs Dec 13, 2023
9b33fc5
autogen(docs): regenerate and update changelog
ory-bot Dec 13, 2023
95cc273
feat: support multiple token URLs (#3676)
hperl Dec 18, 2023
ce00a42
autogen(openapi): regenerate swagger spec and internal client
ory-bot Dec 18, 2023
1a40833
fix: handle token hook auth config (#3677)
hperl Dec 18, 2023
f9cee32
autogen(docs): regenerate and update changelog
ory-bot Dec 18, 2023
62c006b
feat: add flag to export public keys (#3684)
aeneasr Dec 28, 2023
2ba3547
chore(deps): bump golang.org/x/crypto from 0.15.0 to 0.17.0 (#3680)
dependabot[bot] Dec 28, 2023
1ff8f20
autogen(openapi): regenerate swagger spec and internal client
ory-bot Dec 28, 2023
3a65840
autogen(docs): regenerate and update changelog
ory-bot Dec 28, 2023
8e94929
chore: update otel (#3686)
aeneasr Dec 28, 2023
39ee5e1
feat: add missing index for jwk table (#3691)
aeneasr Jan 5, 2024
4a8e9a4
autogen(docs): regenerate and update changelog
ory-bot Jan 5, 2024
3a764a0
fix: remove required mark (#3693)
aeneasr Jan 5, 2024
f9a87d3
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 5, 2024
841d58b
autogen(docs): regenerate and update changelog
ory-bot Jan 5, 2024
a748797
fix: timeout in jwt-bearer grants when too many grants are available …
aeneasr Jan 8, 2024
146b162
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 8, 2024
fbf39dd
autogen(docs): regenerate and update changelog
ory-bot Jan 8, 2024
aa8a364
chore: bump openapi-generator (#3696)
alnr Jan 22, 2024
c9f4b5f
autogen(docs): regenerate and update changelog
ory-bot Jan 22, 2024
b177f81
chore(deps): bump axios and @openapitools/openapi-generator-cli (#3701)
dependabot[bot] Jan 30, 2024
18d9793
chore(deps): bump follow-redirects in /test/e2e/oauth2-client (#3697)
dependabot[bot] Jan 30, 2024
2a653e6
feat: add skip_logout_consent option to clients (#3705)
aeneasr Jan 30, 2024
92eb03a
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 30, 2024
01aeffc
autogen(docs): regenerate and update changelog
ory-bot Jan 30, 2024
8812e0e
fix: incorrect down migration (#3708)
aeneasr Jan 30, 2024
11bf9df
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 30, 2024
cdd2647
autogen(docs): regenerate and update changelog
ory-bot Jan 30, 2024
2dc6606
chore: improve context (#3656)
aeneasr Jan 31, 2024
4a00e3e
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 31, 2024
d0dfc0f
autogen(docs): regenerate and update changelog
ory-bot Jan 31, 2024
4fa2889
chore(deps): bump github.com/docker/docker (#3707)
dependabot[bot] Jan 31, 2024
f502d6e
feat: add --skip-logout-consent flag to CLI (#3709)
aeneasr Jan 31, 2024
e796893
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jan 31, 2024
21e0a9b
autogen(docs): regenerate and update changelog
ory-bot Jan 31, 2024
0487217
autogen: render config schema
ory-bot Feb 1, 2024
8168ee3
autogen: pin v2.2.0-pre.1 release commit
aeneasr Feb 1, 2024
bfc05d0
chore(deps): bump github.com/opencontainers/runc from 1.1.8 to 1.1.12…
dependabot[bot] Feb 2, 2024
33950db
autogen(docs): regenerate and update changelog
ory-bot Feb 2, 2024
65165e7
fix: return empty slice if requested_scope or audience is null (#3711)
jonas-jonas Feb 12, 2024
28e9e31
autogen(openapi): regenerate swagger spec and internal client
ory-bot Feb 12, 2024
8e6c4bf
autogen(docs): regenerate and update changelog
ory-bot Feb 12, 2024
57096be
autogen: pin v2.2.0 release commit
aeneasr Feb 12, 2024
fad1456
autogen(docs): generate and bump docs
ory-bot Feb 12, 2024
0421fda
autogen: add v2.2.0 to version.schema.json
ory-bot Feb 12, 2024
7862dc3
feat: add access token strategy parameter to cli (#3718)
jagobagascon Mar 5, 2024
b47942c
autogen(docs): regenerate and update changelog
ory-bot Mar 5, 2024
67a85cc
fix: wrap token handler in transaction (#3730)
hperl Mar 5, 2024
5bfc7fb
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 5, 2024
fcaace4
autogen(docs): regenerate and update changelog
ory-bot Mar 5, 2024
89323e2
fix: upgrade fosite and improve webhook integration (#3727)
aeneasr Mar 13, 2024
9e89e9a
chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (…
dependabot[bot] Mar 13, 2024
1d4c17c
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 13, 2024
37c5e7f
autogen(docs): regenerate and update changelog
ory-bot Mar 13, 2024
8fff30d
chore(deps): bump jose from 2.0.5 to 2.0.7 in /test/e2e/oauth2-client…
dependabot[bot] Mar 13, 2024
632faef
fix: correctly pass multiple token audiences and prompt parameters wh…
alnr Mar 15, 2024
44f4f58
autogen(docs): regenerate and update changelog
ory-bot Mar 15, 2024
7aca23d
chore: upgrade ory/x (#3749)
aeneasr Mar 27, 2024
a9168e7
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3738)
dependabot[bot] Mar 27, 2024
b355eb4
autogen(openapi): regenerate swagger spec and internal client
ory-bot Mar 27, 2024
1f61853
autogen(docs): regenerate and update changelog
ory-bot Mar 27, 2024
4f786c6
chore(deps): bump express in /test/e2e/oauth2-client (#3750)
dependabot[bot] Mar 27, 2024
153e4b5
fix: error log when RP responds with status code 204 (#3731)
SiebelsTim Apr 4, 2024
5dadfe2
autogen(docs): regenerate and update changelog
ory-bot Apr 4, 2024
17ec137
chore(deps): bump follow-redirects in /test/e2e/oauth2-client (#3739)
dependabot[bot] Apr 4, 2024
50301e0
feat: improve persistence logic (#3756)
aeneasr Apr 5, 2024
63611f1
autogen(openapi): regenerate swagger spec and internal client
ory-bot Apr 5, 2024
247d867
autogen(docs): regenerate and update changelog
ory-bot Apr 5, 2024
bd95ed2
chore: add alnr as code owner
alnr Apr 22, 2024
2013450
feat: add Inspect option to registry
alnr Apr 22, 2024
e98b7bf
chore(deps): bump golang.org/x/net from 0.21.0 to 0.23.0
dependabot[bot] Apr 19, 2024
017ebae
autogen(docs): regenerate and update changelog
ory-bot Apr 22, 2024
b372fd2
feat: add id parameter to create oauth2-client cli (#3725)
inigohu Apr 26, 2024
ec75f70
autogen(openapi): regenerate swagger spec and internal client
ory-bot Apr 26, 2024
d5eee06
autogen(docs): regenerate and update changelog
ory-bot Apr 26, 2024
5b106aa
fix: wrap authorize response in transaction (#3763)
aeneasr May 7, 2024
c558e40
autogen(docs): regenerate and update changelog
ory-bot May 7, 2024
1bbfdb5
fix: do not retry sending responses (#3764)
aeneasr May 8, 2024
e5b9e5c
autogen(docs): regenerate and update changelog
ory-bot May 8, 2024
db0255f
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr May 22, 2024
af0c64f
autogen(docs): regenerate and update changelog
ory-bot May 22, 2024
f7159f4
chore: add kubescape image scanner (#3776)
Demonsthere Jun 6, 2024
7563907
autogen(docs): regenerate and update changelog
ory-bot Jun 6, 2024
5ef20a2
fix: do not iteratively delete records (#3766)
aeneasr Jun 7, 2024
685222e
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 7, 2024
29f053e
autogen(docs): regenerate and update changelog
ory-bot Jun 7, 2024
5e70cde
update doc example for get oauth2-client
anthonysterling May 30, 2024
afd8c5f
autogen(docs): regenerate and update changelog
ory-bot Jun 11, 2024
cb0004b
fix: incorrect indices (#3778)
aeneasr Jun 13, 2024
c58f038
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jun 13, 2024
c184470
autogen(docs): regenerate and update changelog
ory-bot Jun 13, 2024
04c34aa
fix: faster GetPublicKeys (#3787)
aeneasr Jun 25, 2024
7c0ccf8
chore(deps): bump github.com/hashicorp/go-retryablehttp (#3786)
dependabot[bot] Jun 25, 2024
eeaf6f0
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#3783)
dependabot[bot] Jun 25, 2024
c8d5b0e
chore: document custom JWKs in broadcast endpoint (#3793)
jonas-jonas Jul 9, 2024
5c6b195
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 9, 2024
71fe10b
autogen(docs): regenerate and update changelog
ory-bot Jul 9, 2024
757d940
chore(deps): bump github.com/rs/cors from 1.9.0 to 1.11.0 (#3792)
dependabot[bot] Jul 10, 2024
2bda9e6
chore(deps-dev): bump braces in /test/e2e/oauth2-client (#3788)
dependabot[bot] Jul 10, 2024
28f139f
autogen(docs): regenerate and update changelog
ory-bot Jul 10, 2024
7311a79
chore: reduce registry code bloat and improve DI (#3794)
aeneasr Jul 16, 2024
440d1c7
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 16, 2024
9ba07a7
autogen(docs): regenerate and update changelog
ory-bot Jul 16, 2024
2113355
chore: update newsletter link (#3803)
vinckr Jul 24, 2024
0b3ecfc
autogen(docs): regenerate and update changelog
ory-bot Jul 24, 2024
477abae
chore: bump dependencies and generate internal SDK aligned with the p…
zepatrik Jul 31, 2024
d096523
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 31, 2024
e3f450e
autogen(docs): regenerate and update changelog
ory-bot Jul 31, 2024
de3c018
chore: fix some comments
beforetech Jul 31, 2024
f3f0274
autogen(docs): regenerate and update changelog
ory-bot Aug 5, 2024
d85c69f
chore: update newsletter link (#3814)
vinckr Aug 6, 2024
829e120
autogen(docs): regenerate and update changelog
ory-bot Aug 6, 2024
d0e047c
fix(docs): adjust note about SDK support on oauth2 flow endpoints (#3…
jonas-jonas Aug 6, 2024
ffdfb73
fix: use docker compose rather than docker-compose (#3815)
alnr Aug 6, 2024
ed6dc0b
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 6, 2024
6f2e24e
chore(deps): bump github.com/docker/docker
dependabot[bot] Aug 9, 2024
64c991b
autogen(docs): regenerate and update changelog
ory-bot Aug 12, 2024
ae04899
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1
dependabot[bot] Aug 12, 2024
fa50e3e
fix: incorrect context passthru
alnr Aug 12, 2024
b36b701
fix: broken JSON round-tripping for custom claims
alnr Aug 13, 2024
c341d0e
autogen(docs): regenerate and update changelog
ory-bot Aug 14, 2024
a48a2e1
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 22, 2024
eec40e4
autogen(docs): regenerate and update changelog
ory-bot Aug 22, 2024
434fd91
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
b8ad420
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
5459361
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
e2f7049
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Aug 27, 2024
cd7e7ef
feat: upgrade to jackc/pgx/v5 (#3798)
alnr Aug 29, 2024
d686795
chore: compile a static binary in Docker to move from distroless/stat…
alnr Aug 29, 2024
93edc9a
chore: remove json1 build tag everywhere
alnr Aug 29, 2024
554238b
fix: Correct span names
matsuu Aug 30, 2024
ee427ed
chore: consistently use otelx.End(); fix some incorrect API docs (#3835)
alnr Sep 16, 2024
7f65266
chore(deps): bump github.com/opencontainers/runc from 1.1.13 to 1.1.1…
dependabot[bot] Sep 16, 2024
c59a6d6
chore(deps): bump axios and @openapitools/openapi-generator-cli (#3825)
dependabot[bot] Sep 16, 2024
fe48d49
chore(deps): bump send and express in /test/e2e/oauth2-client (#3839)
dependabot[bot] Sep 16, 2024
0f37ba8
chore(deps): bump serve-static and express in /test/e2e/oauth2-client…
dependabot[bot] Sep 16, 2024
f83193f
feat: add expiry and requested times to logout table (#3837)
aeneasr Sep 16, 2024
99deae2
chore: adjust project automation (#3855)
nipsufn Oct 10, 2024
6d829dd
fix: change comment on revokeOAuth2LoginSessions (#3853)
sakai-303 Oct 10, 2024
8263ef4
revert: change comment on revokeOAuth2LoginSessions (#3853) (#3858)
alnr Oct 10, 2024
7f8bd90
feat: built-in login/consent UI for `hydra perform authorization-code…
alnr Oct 10, 2024
0cd00dc
feat: reduce size of verifiers (#3857)
aeneasr Oct 12, 2024
56fc3da
feat: remove unused indices (#3859)
aeneasr Oct 14, 2024
e278b40
feat: graceful refresh token rotation (#3860)
aeneasr Oct 21, 2024
9cc5f28
fix: advertise support for response_mode=form_post in OIDC discovery …
alnr Oct 23, 2024
db095de
test: patch oauth2 snapshot (#3867)
awill1988 Oct 29, 2024
41476ec
feat: support more claims in password grant (#3864)
hperl Oct 31, 2024
3164970
chore: update ristretto and ory/x (#3871)
aeneasr Nov 1, 2024
f777fd1
feat: update clients from files through the CLI (#3874)
zepatrik Nov 4, 2024
d5f65c5
fix: cpu contention when reading JWKs and suppress generating duplica…
terev Nov 4, 2024
7b82361
revert: reduce size of verifiers (#3875)
aeneasr Nov 5, 2024
0ce9d7a
revert: cpu contention when reading JWKs and suppress generating dupl…
aeneasr Nov 5, 2024
825c24d
chore: update reference in config.schema.json (#3881)
Laplace-Transformer Nov 8, 2024
68aa167
fix: untyped int build issues on 32bit architectures (#3885)
zepatrik Nov 14, 2024
a5b2d75
fix: omit explicit transaction in ConfirmLoginSession and add tracing…
alnr Nov 15, 2024
b0270ad
chore: pin GHA PM action version (#3888)
nipsufn Nov 18, 2024
fa21711
fix: pass context to database ping
alnr Nov 21, 2024
2559819
fix: limit HTTP response size
alnr Nov 26, 2024
d27882f
feat: add migrate sql up|down|status (#3894)
aeneasr Nov 27, 2024
d53b416
chore: bump ory/x (#3897)
zepatrik Nov 28, 2024
5caa629
fix: require `redirect_uri` in openid requests (#3900)
aeneasr Dec 4, 2024
64474b9
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Dec 4, 2024
7c594a6
chore: add more tracing context (#3902)
aeneasr Dec 9, 2024
63736ba
chore(deps): bump path-to-regexp and express in /test/e2e/oauth2-clie…
dependabot[bot] Dec 9, 2024
5cda56c
fix: rename index in down migration
adamwalach Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .docker-home/.gitignore

This file was deleted.

7 changes: 4 additions & 3 deletions .docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM alpine:3.16
FROM alpine:3.20

RUN addgroup -S ory; \
adduser -S ory -G ory -D -H -s /bin/nologin
RUN apk --no-cache --upgrade --latest add ca-certificates
adduser -S ory -G ory -D -H -s /bin/nologin && \
apk upgrade --no-cache && \
apk add --no-cache --upgrade ca-certificates

COPY hydra /usr/bin/hydra

Expand Down
38 changes: 12 additions & 26 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
@@ -1,46 +1,32 @@
FROM golang:1.19-alpine3.16 AS builder

RUN apk -U --no-cache --upgrade --latest add build-base git gcc bash
FROM golang:1.22 AS builder

WORKDIR /go/src/github.com/ory/hydra
RUN mkdir -p ./internal/httpclient

RUN apt-get update && apt-get upgrade -y &&\
mkdir -p /var/lib/sqlite &&\
mkdir -p ./internal/httpclient

COPY go.mod go.sum ./
COPY internal/httpclient/go.* ./internal/httpclient
COPY internal/httpclient/go.* ./internal/httpclient/

ENV GO111MODULE on
ENV CGO_ENABLED 1
ENV CGO_ENABLED=1

RUN go mod download

COPY . .
RUN go build -ldflags="-extldflags=-static" -tags sqlite,sqlite_omit_load_extension -o /usr/bin/hydra

RUN go build -tags sqlite,json1 -o /usr/bin/hydra
#########################

FROM alpine:3.15

RUN addgroup -S ory; \
adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \
chown -R ory:ory /home/ory
FROM gcr.io/distroless/static-debian12:nonroot AS runner

COPY --from=builder --chown=nonroot:nonroot /var/lib/sqlite /var/lib/sqlite
COPY --from=builder /usr/bin/hydra /usr/bin/hydra

# By creating the sqlite folder as the ory user, the mounted volume will be owned by ory:ory, which
# is required for read/write of SQLite.
RUN mkdir -p /var/lib/sqlite && \
chown ory:ory /var/lib/sqlite

VOLUME /var/lib/sqlite

# Exposing the ory home directory
VOLUME /home/ory

# Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint)
EXPOSE 4444 4445

USER ory

ENTRYPOINT ["hydra"]
CMD ["serve"]


CMD ["serve", "all"]
8 changes: 8 additions & 0 deletions .docker/Dockerfile-distroless-static
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM gcr.io/distroless/static-debian12:nonroot

COPY hydra /usr/bin/hydra
# Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint)
EXPOSE 4444 4445

ENTRYPOINT ["hydra"]
CMD ["serve", "all"]
33 changes: 22 additions & 11 deletions .docker/Dockerfile-hsm
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM golang:1.19-alpine3.16 AS builder

RUN apk -U --no-cache --upgrade --latest add build-base git gcc bash
FROM golang:1.22 AS builder

WORKDIR /go/src/github.com/ory/hydra
RUN mkdir -p ./internal/httpclient

RUN apt-get update && apt-get upgrade -y &&\
mkdir -p /var/lib/sqlite &&\
mkdir -p ./internal/httpclient

COPY go.mod go.sum ./
COPY internal/httpclient/go.* ./internal/httpclient
Expand All @@ -12,26 +13,36 @@ ENV GO111MODULE on
ENV CGO_ENABLED 1

RUN go mod download

COPY . .

###############################

FROM builder as build-hydra
RUN go build -tags sqlite,json1,hsm -o /usr/bin/hydra
RUN go build -tags sqlite,hsm -o /usr/bin/hydra

###############################

FROM builder as test-hsm
ENV HSM_ENABLED=true
ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
ENV HSM_TOKEN_LABEL=hydra
ENV HSM_PIN=1234

RUN apk --no-cache --upgrade --latest add softhsm opensc; \
pkcs11-tool --module /usr/lib/softhsm/libsofthsm2.so --slot 0 --init-token --so-pin 0000 --init-pin --pin 1234 --label hydra; \
RUN apt-get -y install softhsm opensc &&\
pkcs11-tool --module "$HSM_LIBRARY" --slot 0 --init-token --so-pin 0000 --init-pin --pin "$HSM_PIN" --label "$HSM_TOKEN_LABEL" &&\
go test -p 1 -v -failfast -short -tags=sqlite,hsm ./...

FROM alpine:3.15
###############################

FROM gcr.io/distroless/base-nossl-debian12:debug-nonroot AS runner

ENV HSM_ENABLED=true
ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
ENV HSM_TOKEN_LABEL=hydra
ENV HSM_PIN=1234

RUN apk --no-cache --upgrade --latest add softhsm opensc; \
pkcs11-tool --module /usr/lib/softhsm/libsofthsm2.so --slot 0 --init-token --so-pin 0000 --init-pin --pin 1234 --label hydra
RUN apt-get -y install softhsm opensc &&\
pkcs11-tool --module "$HSM_LIBRARY" --slot 0 --init-token --so-pin 0000 --init-pin --pin "$HSM_PIN" --label "$HSM_TOKEN_LABEL"

RUN addgroup -S ory; \
adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \
Expand Down
5 changes: 3 additions & 2 deletions .docker/Dockerfile-scratch
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM alpine:3.16
FROM alpine:3.20

RUN apk --no-cache --upgrade --latest add ca-certificates
RUN apk upgrade --no-cache && \
apk add --no-cache --upgrade ca-certificates

# set up nsswitch.conf for Go's "netgo" implementation
# - https://github.com/golang/go/blob/go1.9.1/src/net/conf.go#L194-L275
Expand Down
5 changes: 3 additions & 2 deletions .docker/Dockerfile-sqlite
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.20

# Because this image is built for SQLite, we create /home/ory and /home/ory/sqlite which is owned by the ory user
# and declare /home/ory/sqlite a volume.
Expand All @@ -10,7 +10,8 @@ FROM alpine:3.16
RUN addgroup -S ory; \
adduser -S ory -G ory -D -h /home/ory -s /bin/nologin; \
chown -R ory:ory /home/ory && \
apk --no-cache --upgrade --latest add ca-certificates sqlite
apk upgrade --no-cache && \
apk add --no-cache --upgrade --latest ca-certificates sqlite

WORKDIR /home/ory

Expand Down
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
docs
node_modules
.circleci
.docker-home
.github
scripts
sdk/js
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @aeneasr
* @aeneasr @hperl @alnr

/docs/ @ory/documenters
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description: "A clear and concise description of what the bug is."
label: "Describe the bug"
Expand Down
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/DESIGN-DOC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description: |
This section gives the reader a very rough overview of the landscape in which the new system is being built and what is actually being built. This isn’t a requirements doc. Keep it succinct! The goal is that readers are brought up to speed but some previous knowledge can be assumed and detailed info can be linked to. This section should be entirely focused on objective background facts.
Expand Down
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,21 @@ body:
"I have read and am following this repository's [Contribution
Guidelines](https://github.com/ory/hydra/blob/master/CONTRIBUTING.md)."
required: true
- label:
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
- label:
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
Newsletter](https://www.ory.sh/l/sign-up-newsletter)."
id: checklist
type: checkboxes
- attributes:
description:
"Enter the slug or API URL of the affected Ory Network project. Leave
empty when you are self-hosting."
label: "Ory Network Project"
placeholder: "https://<your-project-slug>.projects.oryapis.com"
id: ory-network-project
type: input
- attributes:
description:
"Is your feature request related to a problem? Please describe."
Expand Down
39 changes: 20 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.22"
- name: Start service
run: ./test/conformance/start.sh
- name: Run tests
Expand All @@ -49,15 +49,15 @@ jobs:
- sdk-generate
services:
postgres:
image: postgres:11.8
image: postgres:16
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: test
POSTGRES_USER: test
ports:
- 5432:5432
mysql:
image: mysql:8.0.26
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: test
ports:
Expand All @@ -69,7 +69,7 @@ jobs:
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
cockroachdb/cockroach:v22.1.10 start-single-node --insecure
cockroachdb/cockroach:latest-v24.1 start-single-node --insecure
docker start cockroach
name: Start CockroachDB
- uses: ory/ci/checkout@master
Expand All @@ -80,25 +80,26 @@ jobs:
path: |
internal/httpclient
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v2
- uses: actions/setup-go@v4
with:
go-version: "1.19"
go-version: "1.22"
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/[email protected]
with:
nancyVersion: v1.0.42
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
env:
GOGC: 100
with:
args: --timeout 10m0s
version: v1.47.3
skip-go-installation: true
version: v1.61.0
skip-pkg-cache: true
- name: Run go-acc (tests)
run: |
make .bin/go-acc
.bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m -tags sqlite,json1
.bin/go-acc -o coverage.out ./... -- -failfast -timeout=20m -tags sqlite,sqlite_omit_load_extension
- name: Submit to Codecov
run: |
bash <(curl -s https://codecov.io/bash)
Expand All @@ -122,9 +123,9 @@ jobs:
path: |
internal/httpclient
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.22"
- name: Setup HSM libs and packages
run: |
sudo apt install -y softhsm opensc
Expand All @@ -149,15 +150,15 @@ jobs:
args: ["", "--jwt"]
services:
postgres:
image: postgres:11.8
image: postgres:16
env:
POSTGRES_DB: postgres
POSTGRES_PASSWORD: test
POSTGRES_USER: test
ports:
- 5432:5432
mysql:
image: mysql:8.0.26
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: test
ports:
Expand All @@ -169,13 +170,13 @@ jobs:
steps:
- run: |
docker create --name cockroach -p 26257:26257 \
cockroachdb/cockroach:v22.1.10 start-single-node --insecure
cockroachdb/cockroach:latest-v24.1 start-single-node --insecure
docker start cockroach
name: Start CockroachDB
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.22"
- uses: actions/cache@v2
with:
path: ./test/e2e/hydra
Expand Down Expand Up @@ -254,7 +255,7 @@ jobs:
steps:
- uses: ory/ci/releaser/render-version-schema@master
with:
schema-path: spec/config.json
schema-path: .schema/config.schema.json
token: ${{ secrets.ORY_BOT_PAT }}

newsletter-draft:
Expand Down
Loading
Loading