Commit Graph

975 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
a55985ce6d Update configuration docs to reference ULID 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith
004824849c Config schema is auto-generated 2022-12-09 23:27:13 +01:00
Hugh Nimmo-Smith
c4d4bbc40f client_ids are required to be ULIDs 2022-12-09 23:27:13 +01:00
Quentin Gliech
64981f530a Bump wasmtime and rust-opa-wasm 2022-12-08 16:55:33 +01:00
Quentin Gliech
9c56924a3d Adjust types in storybook 2022-12-08 16:36:34 +01:00
Quentin Gliech
3453cdc5c3 Upgrade Storybook to 7.0.0-beta.0 2022-12-08 16:36:34 +01:00
dependabot[bot]
5c829acf09 Bump async-graphql from 5.0.2 to 5.0.3
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)

---
updated-dependencies:
- dependency-name: async-graphql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 15:47:59 +01:00
Quentin Gliech
1674996a6a router: fix tests 2022-12-08 15:29:15 +01:00
Quentin Gliech
2ba0031167 storage: finish cleaning up the errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
00ec145b4e clippy: fix warnings in tests 2022-12-08 15:29:15 +01:00
Quentin Gliech
84f86c7230 template: more cleanups 2022-12-08 15:29:15 +01:00
Quentin Gliech
626a4dd1db policy: define custom errors and ditch anyhow 2022-12-08 15:29:15 +01:00
Quentin Gliech
4f9da0b8ed handlers: remove most usage of anyhow 2022-12-08 15:29:15 +01:00
Quentin Gliech
6199e698a0 storage: unify most of the remaining errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
5eee6367fe storage: unify most oauth2 related errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
abace3bb62 storage: unify user operations errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
2ed6193573 storage: unify the compat login errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
3782ce3b65 storage: start unifying database errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
1f967deb57 data-model: simplify the authorization grants and sessions 2022-12-08 15:29:15 +01:00
Quentin Gliech
584fba6ec7 data-model: simplify the oauth2 clients 2022-12-08 15:29:15 +01:00
Quentin Gliech
6e5dd26b69 Resolve clippy errors 2022-12-08 15:29:15 +01:00
Quentin Gliech
97b5f153a2 data-model: simplify the compat sessions 2022-12-08 15:29:15 +01:00
Quentin Gliech
2c32ff4917 data-model: simplify users and sessions 2022-12-08 15:29:15 +01:00
Quentin Gliech
b19dd4f77e data-model: simplify tokens 2022-12-08 15:29:15 +01:00
dependabot[bot]
36dee3f1be Bump der from 0.6.0 to 0.6.1
Bumps [der](https://github.com/RustCrypto/formats) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/RustCrypto/formats/releases)
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.6.0...der/v0.6.1)

---
updated-dependencies:
- dependency-name: der
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 14:49:19 +01:00
dependabot[bot]
1b33194115 Bump data-encoding from 2.3.2 to 2.3.3
Bumps [data-encoding](https://github.com/ia0/data-encoding) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/ia0/data-encoding/releases)
- [Commits](https://github.com/ia0/data-encoding/commits)

---
updated-dependencies:
- dependency-name: data-encoding
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 14:30:44 +01:00
dependabot[bot]
5cba25f977 Bump tokio from 1.22.0 to 1.23.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 14:28:05 +01:00
dependabot[bot]
40d5d9075e Bump insta from 1.21.2 to 1.22.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.21.2...1.22.0)

---
updated-dependencies:
- dependency-name: insta
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:57:20 +01:00
dependabot[bot]
83a833ea5b Bump serde from 1.0.148 to 1.0.149
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.148 to 1.0.149.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:57:06 +01:00
dependabot[bot]
f334a4abea Bump parse-display from 0.6.0 to 0.7.0
Bumps [parse-display](https://github.com/frozenlib/parse-display) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/frozenlib/parse-display/releases)
- [Commits](https://github.com/frozenlib/parse-display/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: parse-display
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:56:57 +01:00
dependabot[bot]
a137666820 Bump libc from 0.2.137 to 0.2.138
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.137 to 0.2.138.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.137...0.2.138)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:56:50 +01:00
dependabot[bot]
09491a94a3 Bump @types/jest from 29.2.3 to 29.2.4 in /frontend
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.2.3 to 29.2.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:56:39 +01:00
Quentin Gliech
0421b126c9 Shorten some constraint names in schema 2022-12-05 19:39:51 +01:00
Quentin Gliech
e3abaf2c84 GraphQL: query upstream links from users 2022-12-05 19:39:51 +01:00
Quentin Gliech
944f44792e Save the post auth action during upstream OAuth login 2022-12-05 19:39:51 +01:00
Quentin Gliech
6d0057308d Refactor the upstream oauth session cookie 2022-12-05 19:39:51 +01:00
Quentin Gliech
b8755d83c4 oauth2-types: urn:ietf:params:oauth:grant-type:jwt-bearer 2022-12-05 19:39:51 +01:00
Quentin Gliech
ecf7fd7018 WIP: Provider list on the login page 2022-12-05 19:39:51 +01:00
Quentin Gliech
6ee63f21f1 mas-cli manage set-password subcommand 2022-12-05 19:39:51 +01:00
Quentin Gliech
4dd6379d24 GraphQL API 2022-12-05 19:39:51 +01:00
Quentin Gliech
d1ce3628a6 Tidy up upstream linking templates 2022-12-05 19:39:51 +01:00
Quentin Gliech
c052fa649c Simplify route error handling 2022-12-05 19:39:51 +01:00
Quentin Gliech
b9eda7c9e8 Save the ID token during an upstream authorization 2022-12-05 19:39:51 +01:00
Quentin Gliech
6aca90e4d9 OIDC account linking and login 2022-12-05 19:39:51 +01:00
Quentin Gliech
19f5e2d417 WIP: handle account linking 2022-12-05 19:39:51 +01:00
Quentin Gliech
ae532a05f9 Lookup and save upstream links 2022-12-05 19:39:51 +01:00
Quentin Gliech
d8550778ea Remove the ServerLayer from mas-http 2022-12-05 19:39:51 +01:00
Quentin Gliech
05ea35690b Add a global HTTP client factory 2022-12-05 19:39:51 +01:00
Quentin Gliech
0cfbf17a13 Cleanup HTTP client building 2022-12-05 19:39:51 +01:00
Quentin Gliech
9461b5566f Refactor the provider client credentials extraction 2022-12-05 19:39:51 +01:00