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

SAML Implementation in Kratos #3

Closed
wants to merge 411 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
411 commits
Select commit Hold shift + click to select a range
de77771
chore: format
aeneasr Jul 20, 2022
907dbe3
test(e2e): use correct dir
aeneasr Jul 20, 2022
4d323d0
test(e2e): improve webauthn test reliability
aeneasr Jul 20, 2022
70211a1
fix: make hydra consistently localhost
aeneasr Jul 20, 2022
1182278
fix: panic
aeneasr Jul 20, 2022
05afd68
fix: metadata should not be required
aeneasr Jul 20, 2022
28ccc01
ci: bump hydra
aeneasr Jul 21, 2022
6c14b68
test: fix oidc test regression
aeneasr Jul 21, 2022
43fcc51
fix: duplicate messages in recovery flow (#2592)
erolkskn Jul 21, 2022
a4194f5
fix: return browser to 'return_to' when logging in without registered…
Urbansson Jul 21, 2022
94a3741
feat: add PATCH to adminUpdateIdentity (#2380) (#2471)
jonas-jonas Jul 21, 2022
8dc2ecf
refactor(sdk): rename `getJsonSchema` to `getIdentitySchema` (#2606)
aeneasr Jul 21, 2022
0934def
fix: format
ory-bot Jul 21, 2022
1d7381a
ci: add issues and PRs to board
ory-bot Jul 21, 2022
bf6f27e
fix: re-issue outdated cookie in /whoami (#2598)
CaptainStandby Jul 21, 2022
169e410
ci: fix version
aeneasr Jul 21, 2022
d8dea01
test: parallelize and speed up config tests (#2611)
aeneasr Jul 21, 2022
8b791b9
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 21, 2022
e48e9fa
feat: implement blocking webhooks (#1585)
harnash Jul 22, 2022
98edbfb
ci: update project action
aeneasr Jul 23, 2022
73ed192
ci: ignore schema YAMLs
aeneasr Jul 23, 2022
4e5aac2
autogen(docs): regenerate and update changelog
ory-bot Jul 23, 2022
29aa3b6
fix: disappearing title label on verification and recovery flow (#2613)
erolkskn Jul 25, 2022
aaabe75
fix: debugging Docker setup (#2616)
t-tomalak Jul 25, 2022
2b25376
autogen(docs): regenerate and update changelog
ory-bot Jul 25, 2022
8800085
fix(sdk): rust compile issue with required enum (#2619)
aeneasr Jul 26, 2022
1b67773
autogen(openapi): regenerate swagger spec and internal client
ory-bot Jul 26, 2022
191cee8
chore: update repository templates
aeneasr Jul 27, 2022
fee154b
fix: revert removal of required field in uiNodeInputAttributes (#2623)
aeneasr Jul 27, 2022
8c8833e
autogen(docs): regenerate and update changelog
ory-bot Jul 27, 2022
5a8a484
ci: delete semantic.yml (#2627)
kevgo Jul 28, 2022
4e8a8c1
ci: additional types and scopes for conventional commits (#2626)
kevgo Jul 29, 2022
9020738
fix: cache migration status (#2631)
aeneasr Aug 1, 2022
ad23053
chore: update repository templates
aeneasr Aug 1, 2022
fe00c5b
fix: remove jackc rewrites (#2634)
aeneasr Aug 1, 2022
e17064d
autogen(docs): regenerate and update changelog
ory-bot Aug 1, 2022
4ce9f1e
fix: wrap migration error in WithStack (#2636)
aeneasr Aug 1, 2022
782d829
autogen(docs): regenerate and update changelog
ory-bot Aug 1, 2022
a2e3c41
fix: improve migration status speed (#2637)
aeneasr Aug 2, 2022
573bd16
autogen(docs): regenerate and update changelog
ory-bot Aug 2, 2022
b341756
feat: replace message_ttl with static max retry count (#2638)
jonas-jonas Aug 4, 2022
8fa14ec
autogen(docs): regenerate and update changelog
ory-bot Aug 4, 2022
c589520
fix(docker): add missing dependencies (#2643)
sayoun Aug 5, 2022
6e3fdb7
chore: update repository templates
aeneasr Aug 7, 2022
aa6ef6d
chore: update repository templates
aeneasr Aug 11, 2022
e25c886
chore: update repository templates
aeneasr Aug 13, 2022
e2d805b
fix: replace io/util usage by io and os package
jonas-jonas Aug 12, 2022
ae4a72e
chore: fix golangci/lint version to v1.47.3
jonas-jonas Aug 11, 2022
b553f50
chore: remove ioutil from open api templates
jonas-jonas Aug 15, 2022
4159b93
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 15, 2022
546ee3d
feat: improve state generation logic
aeneasr Jul 28, 2022
e572e81
fix: resolve bug where 500s in web hooks are not properly retried
aeneasr Jul 28, 2022
66a9448
fix: respect more http sources for computing request URL
aeneasr Jul 28, 2022
72595ad
fix: use full URL for webhook payload
aeneasr Jul 28, 2022
934c30d
test: resolve builder regression
aeneasr Jul 28, 2022
7fb085b
fix: revert Go 1.19 formatting changes
aeneasr Aug 19, 2022
e00a976
ci: fix to Go 1.18
aeneasr Aug 19, 2022
576f9c0
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 19, 2022
866b472
fix: ignore CSRF for session extension on public route
jonas-jonas Aug 15, 2022
3c00b66
autogen(docs): regenerate and update changelog
ory-bot Aug 19, 2022
b0d8f38
refactor: hot reloading
aeneasr Aug 4, 2022
a115486
fix: migration error detection
aeneasr Aug 11, 2022
4f841da
fix: make servicelocator explicit
aeneasr Aug 18, 2022
24eddfb
Revert "autogen(openapi): regenerate swagger spec and internal client"
aeneasr Aug 19, 2022
772d596
fix: ignore error explicitly
aeneasr Aug 19, 2022
39bb84d
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 19, 2022
355ec43
fix: remove rust workaround
aeneasr Aug 23, 2022
1a397ac
autogen(openapi): regenerate swagger spec and internal client
ory-bot Aug 23, 2022
8c52c33
fix: re-add service to quickstart
aeneasr Aug 23, 2022
7ec3fe3
autogen(docs): regenerate and update changelog
ory-bot Aug 23, 2022
4e8b5cf
docs: importing credentials supported
vinckr Aug 24, 2022
1cd2672
autogen(docs): regenerate and update changelog
ory-bot Aug 24, 2022
d56586b
fix: include flow id in use recovery token query (#2679)
jonas-jonas Aug 25, 2022
0856bd7
fix: ignore commata in HIBP response
aeneasr Aug 26, 2022
fec6772
fix: make swagger/openapi go 1.19 compatible
aeneasr Aug 30, 2022
de46c08
feat: support ip exceptions
aeneasr Aug 30, 2022
fc95730
chore: go 1.19 format
aeneasr Aug 30, 2022
8fe9de6
feat: add missing config entry
aeneasr Aug 30, 2022
a0d2bfb
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 2, 2022
1689bb9
fix: do not invalidate recovery addr on update (#2699)
hperl Sep 2, 2022
1787e68
autogen(docs): regenerate and update changelog
ory-bot Sep 2, 2022
c0ceaf3
feat: add pre-hooks to settings, verification, recovery
aeneasr Sep 1, 2022
db8c345
autogen(docs): regenerate and update changelog
ory-bot Sep 5, 2022
5e8c184
chore: improve package-lock.json package.json (#2712)
kevgo Sep 7, 2022
e126586
autogen(docs): regenerate and update changelog
ory-bot Sep 7, 2022
54c64fc
feat: add flow id check to use verification token (#2695)
jonas-jonas Sep 7, 2022
fa4b59b
autogen(docs): regenerate and update changelog
ory-bot Sep 7, 2022
3e3b59e
feat: allow importing scrypt hashing algorithm (#2689)
LandonPattison Sep 8, 2022
9de4705
autogen(docs): regenerate and update changelog
ory-bot Sep 8, 2022
c4d95af
fix: patch invalidates credentials (#2721)
jonas-jonas Sep 11, 2022
de363c6
autogen(docs): regenerate and update changelog
ory-bot Sep 11, 2022
32e32d1
feat: add missing cookie headers to SDK methods (#2720)
aeneasr Sep 12, 2022
d7ce190
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 12, 2022
3f490a3
fix: check return code of ms graphapi /me request. (#2647)
floriankramer Sep 12, 2022
5fddcbf
feat: add api endpoint to fetch messages (#2651)
erolkskn Sep 12, 2022
182ed14
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 12, 2022
af32ba8
chore: update repository templates
aeneasr Sep 14, 2022
d708c81
fix: remove jsonnet import support
aeneasr Sep 15, 2022
60f4a2c
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 15, 2022
20fdfe8
chore: format using Make (#2736)
kevgo Sep 16, 2022
bbe4463
fix: format check stage in the CI (#2737)
kelkarajay Sep 16, 2022
1515b83
Remove empty script (#2739)
kevgo Sep 16, 2022
bdc3797
autogen(docs): regenerate and update changelog
ory-bot Sep 21, 2022
b024e09
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 22, 2022
6226177
chore: update ory-prettier-styles (#2749)
kevgo Sep 22, 2022
04111f8
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 22, 2022
8cebb8b
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 23, 2022
77c53fd
chore: fix formatting (#2753)
kevgo Sep 23, 2022
3e1c444
autogen(openapi): regenerate swagger spec and internal client
ory-bot Sep 23, 2022
1736d80
chore: remove double-tabs in Makefile (#2747)
kevgo Sep 26, 2022
1ff40ae
chore: format using Make (#2748)
kevgo Sep 26, 2022
439f015
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Sep 26, 2022
70976e6
chore: remove listx dependency (#2752)
kevgo Sep 28, 2022
8e01e61
chore: remove dead code (#2769)
kelkarajay Oct 4, 2022
3852eb4
feat: add support for firebase scrypt hashes on identity import and l…
jwmay2012 Oct 4, 2022
1d22b23
refactor: use gotemplates for command usage (#2770)
zepatrik Oct 4, 2022
d612612
Revert "refactor: use gotemplates for command usage (#2770)" (#2778)
aeneasr Oct 4, 2022
09751e6
feat: automatic TLS certificate reloading (#2744)
alnr Oct 4, 2022
37ff495
ci: remove deprecated linters (replaced by `unused`)
zepatrik Oct 4, 2022
baa84c6
refactor: use gotemplates for command usage
zepatrik Oct 4, 2022
8d92425
chore: bump go to 1.19
zepatrik Oct 4, 2022
7e7e58b
chore: add node version check to test/e2e/run.sh (#2745)
jonas-jonas Oct 4, 2022
f002649
fix: preserve return_to param between flows (#2644)
mmeller-wikia Oct 4, 2022
82bc9ce
feat: adding device information to the session (#2715)
kelkarajay Oct 4, 2022
f040c9d
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 4, 2022
5af2c0a
chore: update x/sys for M1
aeneasr Oct 4, 2022
1da0cf6
feat: parse all id token claims into raw_claims (#2765)
pr1ze Oct 5, 2022
0cbfe41
fix: proper annotation for patch (#2784)
aeneasr Oct 5, 2022
bd4af9a
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 5, 2022
a1532ba
feat: replace magic links with one time codes in recovery flow (#2645)
jonas-jonas Oct 6, 2022
8043371
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 6, 2022
aa698e0
fix: include metadata_admin in admin identity list response (#2791)
brahmlower Oct 11, 2022
d8514b5
docs: cypress on arm based mac (#2795)
Oct 12, 2022
0c2efa2
fix: identity sessions list response includes pagination headers (#2763)
brahmlower Oct 13, 2022
84ea0cf
fix: express e2e tests for new account experience (#2708)
Benehiko Oct 13, 2022
5ac7553
fix: missing usage to recovery_code_invalid template (#2798)
jonas-jonas Oct 13, 2022
cdaf68d
fix: not cleared field validation message (#2800)
jonas-jonas Oct 13, 2022
a6f2793
feat: immutable cookie session values (#2761)
Oct 13, 2022
4682afa
fix: x-forwarded-for header parsing (#2807)
Oct 14, 2022
71e2449
feat: add cache headers (#2817)
aeneasr Oct 18, 2022
6e8579b
feat: improve cache handling
aeneasr Oct 18, 2022
3e09e58
feat: update for the Ory Network (#2814)
kmherrmann Oct 19, 2022
53bf4d0
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 19, 2022
44f775f
fix: correct name of span on recovery code deletion (#2823)
jonas-jonas Oct 19, 2022
db9a95b
docs: cleanup v0alpha2 endpoint summaries
bplcensys Oct 20, 2022
4aab5e0
fix(lint): fixed lint error causing ci failures
bplcensys Oct 20, 2022
ddde43e
fix: correctly calculate `expired_at` timestamp for FlowExpired error…
zepatrik Oct 25, 2022
816b029
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 25, 2022
7c6eb2a
feat: OAuth2 integration (#2804)
aeneasr Oct 26, 2022
e03a2b3
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 26, 2022
8f52e8b
docs: enable 2FA methods in docker-compose quickstart setup (#2828)
mmeller-wikia Oct 26, 2022
504fb36
fix: take over return_to param from unauthorized settings to login fl…
mmeller-wikia Oct 26, 2022
154b61b
fix: wrong config key in admin recovery documentation (#2815)
jonas-jonas Oct 26, 2022
8102178
chore: debugf (#2842)
aeneasr Oct 26, 2022
bfe46af
chore(sdk): update order of arguments (#2840)
aeneasr Oct 26, 2022
4c70578
fix(sdk): identity metadata is nullable (#2841)
aeneasr Oct 26, 2022
ec70a30
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 26, 2022
93d4bf5
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Oct 26, 2022
0c8263b
autogen(docs): regenerate and update changelog
ory-bot Oct 26, 2022
59588d2
feat: adding admin session listing api (#2818)
Oct 27, 2022
02b9100
autogen(openapi): regenerate swagger spec and internal client
ory-bot Oct 27, 2022
411cd79
autogen(docs): regenerate and update changelog
ory-bot Oct 27, 2022
de80b7f
fix: admin recovery CSRF & duplicate form elements (#2846)
jonas-jonas Oct 30, 2022
60fed3c
autogen(docs): regenerate and update changelog
ory-bot Oct 30, 2022
968bf6b
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 1, 2022
f5c4cca
autogen(docs): regenerate and update changelog
ory-bot Nov 1, 2022
8ef7cd5
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
2b42ddb
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
15f5b1b
autogen(docs): regenerate and update changelog
ory-bot Nov 2, 2022
ae6fbb8
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
f3c4aba
chore: license checker (#2851)
kevgo Nov 2, 2022
ddecb89
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 2, 2022
af2747b
chore: remove obsolete header (#2857)
kevgo Nov 2, 2022
9346c18
chore: fix package-lock.json (#2861)
kevgo Nov 3, 2022
15d72d9
autogen(docs): regenerate and update changelog
ory-bot Nov 3, 2022
1aa1321
feat: add admin get api for session (#2855)
Nov 7, 2022
37b1a3b
feat: add OpenTelemetry span events (#2858)
alnr Nov 7, 2022
5d1ff10
autogen(docs): regenerate and update changelog
ory-bot Nov 7, 2022
2a6fd20
chore: update repository templates to https://github.com/ory/meta/com…
aeneasr Nov 8, 2022
ed99539
autogen(docs): regenerate and update changelog
ory-bot Nov 8, 2022
8fceadc
chore: update ory/x (#2871)
jonas-jonas Nov 8, 2022
9eeedc0
fix: use process-isolated Jsonnet VM (#2869)
aeneasr Nov 8, 2022
5c140ce
autogen(docs): regenerate and update changelog
ory-bot Nov 8, 2022
705f7b1
fix: distinguish credential types properly when collecting identifier…
zepatrik Nov 8, 2022
65aeb0a
fix: make `courier.TemplateType` an enum (#2875)
jonas-jonas Nov 8, 2022
2438ca0
feat: add handler with openapi def for admin revoke session (#2867)
Nov 8, 2022
d9e6a7c
autogen(docs): regenerate and update changelog
ory-bot Nov 8, 2022
8406eaf
feat: standardize license headers (#2790)
kevgo Nov 8, 2022
cbaaceb
test: update snapshots (#2877)
kevgo Nov 8, 2022
7299c86
autogen(docs): regenerate and update changelog
ory-bot Nov 8, 2022
e446c5a
fix: codecov (#2879)
aeneasr Nov 9, 2022
6bf5d93
autogen(docs): regenerate and update changelog
ory-bot Nov 9, 2022
b1ff220
chore: bump ory/x (#2882)
alnr Nov 10, 2022
bc2dfd3
autogen(docs): regenerate and update changelog
ory-bot Nov 10, 2022
e314968
chore: consolidate .gitignore files (#2881)
kevgo Nov 10, 2022
30262cb
chore: list contributors in file (#2878)
kevgo Nov 10, 2022
a9f6b7f
autogen(openapi): regenerate swagger spec and internal client
ory-bot Nov 10, 2022
e9aa21f
refactor: make embedding easier with internal sdk
aeneasr Nov 8, 2022
11f9d30
refactor: SDK v1 naming
aeneasr Nov 5, 2022
fdb108f
feat: upgrade hydra to v2
aeneasr Nov 9, 2022
9391d68
ci: add moreutils and gettext
aeneasr Nov 9, 2022
bad43a8
chore: format
aeneasr Nov 9, 2022
32454d2
test(e2e): fix issuer config
aeneasr Nov 9, 2022
3c11216
feat: ingest hydra bugfix
aeneasr Nov 10, 2022
fcba023
chore: add additional files to gitignore
aeneasr Nov 10, 2022
390ccaa
test: improve e2e tooling
aeneasr Nov 11, 2022
8012a3e
ci: update hydra
aeneasr Nov 11, 2022
904f75d
test(e2e): resolve max-age regression
aeneasr Nov 11, 2022
0ee4cf0
test(e2e): resolve max-age and issuer regression
aeneasr Nov 11, 2022
4eef5d9
autogen(openapi): regenerate swagger spec and internal client
ory-bot Nov 11, 2022
5bce0b9
autogen(docs): regenerate and update changelog
ory-bot Nov 11, 2022
88e75d9
fix: do not double-commit webhooks on registration (#2888)
aeneasr Nov 14, 2022
40e2258
autogen(docs): regenerate and update changelog
ory-bot Nov 14, 2022
c5d3ebc
fix: do not crash process on invalid smtp url (#2890)
aeneasr Nov 14, 2022
a318778
autogen(docs): regenerate and update changelog
ory-bot Nov 14, 2022
a82ee92
feat: add verification via `code` (#2838)
jonas-jonas Nov 15, 2022
797ea68
fix: incorrect swagger annotation for `getSession` (#2891)
aeneasr Nov 15, 2022
6f7889d
autogen(docs): regenerate and update changelog
ory-bot Nov 15, 2022
b3dca56
chore: remove .only from test (#2893)
jonas-jonas Nov 15, 2022
7c4964e
fix: add missing go.mod to docker build
ory-bot Nov 17, 2022
1fbca13
autogen(docs): regenerate and update changelog
ory-bot Nov 17, 2022
02a92b4
feat: add session cache header feature flag (#2899)
Nov 17, 2022
585c26b
autogen(docs): regenerate and update changelog
ory-bot Nov 17, 2022
56feb07
feat: change code length to 6 numbers (#2894)
jonas-jonas Nov 18, 2022
2d46209
autogen(docs): regenerate and update changelog
ory-bot Nov 18, 2022
bcbf68e
fix: active attribute based off IsActive checks (#2901)
Nov 18, 2022
9d64033
autogen(docs): regenerate and update changelog
ory-bot Nov 18, 2022
2ff34b6
feat: add "success" UITextType (#2900)
jonas-jonas Nov 21, 2022
b6c212c
autogen(docs): regenerate and update changelog
ory-bot Nov 21, 2022
e1119e8
fix: verification redirect & continue label (#2905)
jonas-jonas Nov 22, 2022
57e569e
autogen(docs): regenerate and update changelog
ory-bot Nov 22, 2022
e407f92
fix: set cache default to false (#2906)
Nov 23, 2022
d2bb67a
fix: send out correct verification invalid email in code strategy (#2…
jonas-jonas Nov 23, 2022
14c79b4
autogen(docs): regenerate and update changelog
ory-bot Nov 23, 2022
d1b4e17
feat: support md5 hash import (#2725)
erolkskn Nov 23, 2022
665605b
feat: trace WebHooks (#2911)
martinei Nov 28, 2022
624e1f0
autogen: pin v0.11.0-alpha.0.pre.2 release commit
ory-bot Nov 28, 2022
70ed068
feat: forward parsed request cookies to webhook Jsonnet snippet (#2917)
alnr Dec 1, 2022
59c30b6
autogen: pin v0.11.0 release commit
ory-bot Dec 2, 2022
727439c
autogen(docs): generate and bump docs
ory-bot Dec 2, 2022
bef1a6c
autogen: add v0.11.0 to version.schema.json
ory-bot Dec 2, 2022
efb8ae8
feat: require verification on login (#2927)
aeneasr Dec 6, 2022
fc7aa86
feat: store errors of courier message (#2914)
jonas-jonas Dec 6, 2022
ce72501
autogen(openapi): regenerate swagger spec and internal client
ory-bot Dec 6, 2022
b3b6f88
autogen(docs): regenerate and update changelog
ory-bot Dec 6, 2022
1ed6839
fix: cors headers not added to the response #2922 (#2934)
kstasik Dec 7, 2022
3f5480f
feat(saml): saml 2.0 implementation
ThibHrrd Aug 30, 2022
b26f11d
feat(saml): use ory/x fetcher
ThibHrrd Nov 25, 2022
37f7bbe
feat(saml): improved error handling
ThibHrrd Nov 25, 2022
aeb172c
feat(saml): relaystate continuity fix + unit tests
sebferrer Dec 14, 2022
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .docker/Dockerfile-alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.15.4
FROM alpine:3.16

# Because this image supports 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,7 @@ FROM alpine:3.15.4
RUN addgroup -S ory; \
adduser -S ory -G ory -D -u 10000 -h /home/ory -s /bin/nologin; \
chown -R ory:ory /home/ory
RUN apk --no-cache --update-cache --upgrade --latest add ca-certificates
RUN apk --update upgrade && apk --no-cache --update-cache --upgrade --latest add ca-certificates

WORKDIR /home/ory

Expand Down
7 changes: 4 additions & 3 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# syntax = docker/dockerfile:1-experimental
FROM golang:1.18-alpine3.15 AS base
FROM golang:1.19-alpine3.16 AS base

RUN apk --no-cache --update-cache --upgrade --latest add build-base git gcc bash
RUN apk --update upgrade && apk --no-cache --update-cache --upgrade --latest add ca-certificates build-base gcc

WORKDIR /go/src/github.com/ory/kratos

ADD go.mod go.mod
ADD go.sum go.sum
ADD internal/httpclient/go.* internal/httpclient/
ADD internal/client-go/go.* internal/client-go/

ENV GO111MODULE on
ENV CGO_ENABLED 1
Expand All @@ -25,7 +26,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build go build -tags sqlite \
-ldflags="-X 'github.com/ory/kratos/driver/config.Version=${VERSION}' -X 'github.com/ory/kratos/driver/config.Date=${BUILD_DATE}' -X 'github.com/ory/kratos/driver/config.Commit=${COMMIT}'" \
-o /usr/bin/kratos

FROM alpine:3.15.4
FROM alpine:3.16

RUN addgroup -S ory; \
adduser -S ory -G ory -D -u 10000 -h /home/ory -s /bin/nologin; \
Expand Down
4 changes: 2 additions & 2 deletions .docker/Dockerfile-debug
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM golang:1.18-buster
FROM golang:1.19-buster
ENV CGO_ENABLED 1

RUN apt-get update && apt-get install -y --no-install-recommends inotify-tools psmisc
RUN go get github.com/go-delve/delve/cmd/dlv
RUN go install github.com/go-delve/delve/cmd/dlv@latest

COPY script/debug-entrypoint.sh /entrypoint.sh

Expand Down
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/FUNDING.yml

# These are supported funding model platforms

# github:
Expand Down
57 changes: 30 additions & 27 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
description: 'Create a bug report'
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/BUG-REPORT.yml

description: "Create a bug report"
labels:
- bug
name: 'Bug Report'
name: "Bug Report"
body:
- attributes:
value: "Thank you for taking the time to fill out this bug report!\n"
type: markdown
- attributes:
label: 'Preflight checklist'
label: "Preflight checklist"
options:
- label:
'I could not find a solution in the existing issues, docs, nor
discussions.'
"I could not find a solution in the existing issues, docs, nor
discussions."
required: true
- label:
"I agree to follow this project's [Code of
Expand All @@ -22,18 +25,18 @@ body:
Guidelines](https://github.com/ory/kratos/blob/master/CONTRIBUTING.md)."
required: true
- label:
'This issue affects my [Ory Cloud](https://www.ory.sh/) project.'
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
'I have joined the [Ory Community Slack](https://slack.ory.sh).'
"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).'
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
id: checklist
type: checkboxes
- attributes:
description: 'A clear and concise description of what the bug is.'
label: 'Describe the bug'
placeholder: 'Tell us what you see!'
description: "A clear and concise description of what the bug is."
label: "Describe the bug"
placeholder: "Tell us what you see!"
id: describe-bug
type: textarea
validations:
Expand All @@ -47,28 +50,28 @@ body:
1. Run `docker run ....`
2. Make API Request to with `curl ...`
3. Request fails with response: `{"some": "error"}`
label: 'Reproducing the bug'
label: "Reproducing the bug"
id: reproduce-bug
type: textarea
validations:
required: true
- attributes:
description:
'Please copy and paste any relevant log output. This will be
"Please copy and paste any relevant log output. This will be
automatically formatted into code, so no need for backticks. Please
redact any sensitive information'
label: 'Relevant log output'
redact any sensitive information"
label: "Relevant log output"
render: shell
placeholder: |
log=error ....
id: logs
type: textarea
- attributes:
description:
'Please copy and paste any relevant configuration. This will be
"Please copy and paste any relevant configuration. This will be
automatically formatted into code, so no need for backticks. Please
redact any sensitive information!'
label: 'Relevant configuration'
redact any sensitive information!"
label: "Relevant configuration"
render: yml
placeholder: |
server:
Expand All @@ -77,16 +80,16 @@ body:
id: config
type: textarea
- attributes:
description: 'What version of our software are you running?'
description: "What version of our software are you running?"
label: Version
id: version
type: input
validations:
required: true
- attributes:
label: 'On which operating system are you observing this issue?'
label: "On which operating system are you observing this issue?"
options:
- Ory Cloud
- Ory Network
- macOS
- Linux
- Windows
Expand All @@ -95,19 +98,19 @@ body:
id: operating-system
type: dropdown
- attributes:
label: 'In which environment are you deploying?'
label: "In which environment are you deploying?"
options:
- Ory Cloud
- Ory Network
- Docker
- 'Docker Compose'
- 'Kubernetes with Helm'
- "Docker Compose"
- "Kubernetes with Helm"
- Kubernetes
- Binary
- Other
id: deployment
type: dropdown
- attributes:
description: 'Add any other context about the problem here.'
description: "Add any other context about the problem here."
label: Additional Context
id: additional
type: textarea
53 changes: 28 additions & 25 deletions .github/ISSUE_TEMPLATE/DESIGN-DOC.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# AUTO-GENERATED, DO NOT EDIT!
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml

description:
'A design document is needed for non-trivial changes to the code base.'
"A design document is needed for non-trivial changes to the code base."
labels:
- rfc
name: 'Design Document'
name: "Design Document"
body:
- attributes:
value: |
Expand All @@ -13,16 +16,16 @@ body:
Ory is leaning heavily on [Google's design docs process](https://www.industrialempathy.com/posts/design-docs-at-google/)
and [Golang Proposals](https://github.com/golang/proposal).

Writing a design doc prior to contributing your change ensures that your ideas are checked with
the community and maintainers. It will save you a lot of time developing things which might need changed
Writing a design doc before contributing your change ensures that your ideas are checked with
the community and maintainers. It will save you a lot of time developing things that might need to be changed
after code reviews, and your pull requests will be merged faster.
type: markdown
- attributes:
label: 'Preflight checklist'
label: "Preflight checklist"
options:
- label:
'I could not find a solution in the existing issues, docs, nor
discussions.'
"I could not find a solution in the existing issues, docs, nor
discussions."
required: true
- label:
"I agree to follow this project's [Code of
Expand All @@ -33,18 +36,18 @@ body:
Guidelines](https://github.com/ory/kratos/blob/master/CONTRIBUTING.md)."
required: true
- label:
'This issue affects my [Ory Cloud](https://www.ory.sh/) project.'
"This issue affects my [Ory Network](https://www.ory.sh/) project."
- label:
'I have joined the [Ory Community Slack](https://slack.ory.sh).'
"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).'
"I am signed up to the [Ory Security Patch
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
id: checklist
type: checkboxes
- 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.
label: 'Context and scope'
label: "Context and scope"
id: scope
type: textarea
validations:
Expand All @@ -53,7 +56,7 @@ body:
- attributes:
description: |
A short list of bullet points of what the goals of the system are, and, sometimes more importantly, what non-goals are. Note, that non-goals aren’t negated goals like “The system shouldn’t crash”, but rather things that could reasonably be goals, but are explicitly chosen not to be goals. A good example would be “ACID compliance”; when designing a database, you’d certainly want to know whether that is a goal or non-goal. And if it is a non-goal you might still select a solution that provides it, if it doesn’t introduce trade-offs that prevent achieving the goals.
label: 'Goals and non-goals'
label: "Goals and non-goals"
id: goals
type: textarea
validations:
Expand All @@ -64,31 +67,31 @@ body:
This section should start with an overview and then go into details.
The design doc is the place to write down the trade-offs you made in designing your software. Focus on those trade-offs to produce a useful document with long-term value. That is, given the context (facts), goals and non-goals (requirements), the design doc is the place to suggest solutions and show why a particular solution best satisfies those goals.

The point of writing a document over a more formal medium is to provide the flexibility to express the problem set at hand in an appropriate manner. Because of this, there is no explicit guidance for how to actually describe the design.
label: 'The design'
The point of writing a document over a more formal medium is to provide the flexibility to express the problem at hand in an appropriate manner. Because of this, there is no explicit guidance on how to actually describe the design.
label: "The design"
id: design
type: textarea
validations:
required: true

- attributes:
description: |
If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead focus on the parts that are relevant to the design and its trade-offs.
label: 'APIs'
If the system under design exposes an API, then sketching out that API is usually a good idea. In most cases, however, one should withstand the temptation to copy-paste formal interface or data definitions into the doc as these are often verbose, contain unnecessary detail and quickly get out of date. Instead, focus on the parts that are relevant to the design and its trade-offs.
label: "APIs"
id: apis
type: textarea

- attributes:
description: |
Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead focus on the parts that are relevant to the design and its trade-offs.
label: 'Data storage'
Systems that store data should likely discuss how and in what rough form this happens. Similar to the advice on APIs, and for the same reasons, copy-pasting complete schema definitions should be avoided. Instead, focus on the parts that are relevant to the design and its trade-offs.
label: "Data storage"
id: persistence
type: textarea

- attributes:
description: |
Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the implementability of the design.
label: 'Code and pseudo-code'
Design docs should rarely contain code, or pseudo-code except in situations where novel algorithms are described. As appropriate, link to prototypes that show the feasibility of the design.
label: "Code and pseudo-code"
id: pseudocode
type: textarea

Expand All @@ -98,18 +101,18 @@ body:

On one end of the extreme is the “greenfield software project”, where all we know are the goals, and the solution can be whatever makes the most sense. Such a document may be wide-ranging, but it also needs to quickly define a set of rules that allow zooming in on a manageable set of solutions.

On the other end are systems where the possible solutions are very well defined, but it isnt at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasnt designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language.
On the other end are systems where the possible solutions are very well defined, but it isn't at all obvious how they could even be combined to achieve the goals. This may be a legacy system that is difficult to change and wasn't designed to do what you want it to do or a library design that needs to operate within the constraints of the host programming language.

In this situation you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are really great, and hence such a document should focus on selecting the best way given all identified trade-offs.
label: 'Degree of constraint'
In this situation, you may be able to enumerate all the things you can do relatively easily, but you need to creatively put those things together to achieve the goals. There may be multiple solutions, and none of them are great, and hence such a document should focus on selecting the best way given all identified trade-offs.
label: "Degree of constraint"
id: constrait
type: textarea

- attributes:
description: |
This section lists alternative designs that would have reasonably achieved similar outcomes. The focus should be on the trade-offs that each respective design makes and how those trade-offs led to the decision to select the design that is the primary topic of the document.

While it is fine to be succinct about solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals.
While it is fine to be succinct about a solution that ended up not being selected, this section is one of the most important ones as it shows very explicitly why the selected solution is the best given the project goals and how other solutions, that the reader may be wondering about, introduce trade-offs that are less desirable given the goals.

label: Alternatives considered
id: alternatives
Expand Down
Loading