Commit graph

51 commits

Author SHA1 Message Date
Eugene 116bf9fd4d
fixed SSO authentication getting incorrectly rejected when user has both an "any provider" and a provider specific SSO credential 2024-09-10 23:12:44 +02:00
Eugene 53b0a9095b
Bump version: 0.10.1 → 0.10.2 2024-08-14 22:59:52 +02:00
Eugene a0465174a7
Bump version: 0.10.0 → 0.10.1 2024-07-26 18:18:39 +02:00
Eugene c83a70c730
Bump version: 0.9.1 → 0.10.0 2024-07-18 09:55:42 +02:00
Eugene f07b9246a8
switch to rustls 2024-07-16 12:56:42 +02:00
Eugene 4afa979de2
bump rust some more 2024-07-16 10:40:27 +02:00
Eugene 47c943d201
lint 2024-03-23 12:24:52 +01:00
Skyler Mansfield 916d51a4e8
Add support for role mappings on custom SSO providers. (#920)
This is done using the `role_mappings` property.
Roles to be mapped are gotten from the 'warp_groups` oidc claim:
```sso_providers: 
  - name: custom_sso
    label: Custom SSO
    provider:
      type: custom
      client_id: <client_id>
      client_secret: <client_secret>
      issuer_url: <issuer_url>
      scopes: ["email", "profile", "openid", "warp_groups"] #warp_groups is scope name to request for my demo case, which adds a "warpgate_groups" claim to the userinfo
      role_mappings: 
        - ["warpgate:admin", "warpgate:admin"]
```
This maps the `warpgate:admin` group from OIDC to the `warpgate:admin`
role.

This [video on YouTube](https://youtu.be/XCYSGGCgk9Q) demonstrates the
functionality

---------

Co-authored-by: Eugene <inbox@null.page>
2024-03-23 12:05:12 +01:00
Eugene bcba6763ae
cargo fmt 2024-03-04 10:15:27 +01:00
Eugene 2d6621f5c8
bumped rust 2024-01-23 12:05:59 +01:00
Eugene 7e260e84e6
Bump version: 0.9.0 → 0.9.1 2023-12-18 16:24:44 +01:00
Eugene 0baf2e3b97
Bump version: 0.8.1 → 0.9.0 2023-11-23 19:41:07 +01:00
Eugene 6cace24fe8
lint 2023-11-23 19:40:53 +01:00
Eugene b346ca3d0b
don't suggest public key auth in the web auth API 2023-11-23 19:36:05 +01:00
Eugene 8b91e4a328
Bump version: 0.8.0 → 0.8.1 2023-09-27 22:09:03 +02:00
Eugene Pankov 4ecc6b653f
Bump version: 0.7.4 → 0.8.0 2023-08-20 19:06:49 +02:00
Eugene Pankov aca8d3d515 fixed #857 - fixed default ticket expiry on MySQL, bumped sea-orm 2023-08-08 21:06:01 +02:00
Eugene Pankov d9385ca44b lint 2023-08-08 21:06:01 +02:00
Eugene Pankov 0bc9ae1b1a fixed #854 - show session details during OOB auth 2023-08-07 22:28:15 +02:00
Eugene Pankov 4eb791f189
Bump version: 0.7.3 → 0.7.4 2023-08-02 09:05:59 +02:00
Eugene Pankov dca24110f9
Bump version: 0.7.1 → 0.7.3 2023-07-10 10:23:00 +02:00
Cléo REBERT 86daf9f38e
Fix build after cargo update
* Fix project not building after `cargo update`

* Bump totp-rs from 3.x to 5.x

* Bump sea-orm to 0.10 to 0.11

* Remove `chrono` unused features to get rid of warning during `cargo audit`
2023-04-19 10:59:19 +02:00
Eugene Pankov 9a0d818b82
Bump version: 0.7.0 → 0.7.1 2023-03-17 09:59:11 +01:00
Eugene Pankov eb13e71fb3
bumped rust 2023-01-11 12:59:27 +01:00
dependabot[bot] 3be3971bf7 Bump once_cell from 1.14.0 to 1.17.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:34:02 +01:00
dependabot[bot] e4c7069a94 Bump sea-orm from 0.10.5 to 0.10.6
Bumps [sea-orm](https://github.com/SeaQL/sea-orm) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.5...0.10.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:33:37 +01:00
Eugene Pankov e852140f75
bumped poem-openapi 2023-01-09 21:29:37 +01:00
dependabot[bot] fb0223679b Bump bytes from 1.2.1 to 1.3.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:15:13 +01:00
dependabot[bot] 1234e6e26c Bump poem from 1.3.48 to 1.3.50
Bumps [poem](https://github.com/poem-web/poem) from 1.3.48 to 1.3.50.
- [Release notes](https://github.com/poem-web/poem/releases)
- [Commits](https://github.com/poem-web/poem/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:14:39 +01:00
dependabot[bot] 8354643e3f Bump sea-orm from 0.10.3 to 0.10.5
Bumps [sea-orm](https://github.com/SeaQL/sea-orm) from 0.10.3 to 0.10.5.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.3...0.10.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:14:15 +01:00
Eugene Pankov 82a244496d
Bump version: 0.6.6 → 0.7.0 2022-11-22 00:52:56 +01:00
Eugene Pankov 971c7c9839
Bump version: 0.6.5 → 0.6.6 2022-11-21 22:08:22 +01:00
dependabot[bot] 21984967a8 Bump uuid from 1.1.2 to 1.2.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.1.2 to 1.2.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.1.2...1.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-20 14:15:08 +01:00
dependabot[bot] 84b60a242d Bump sea-orm from 0.10.2 to 0.10.3
Bumps [sea-orm](https://github.com/SeaQL/sea-orm) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/SeaQL/sea-orm/releases)
- [Changelog](https://github.com/SeaQL/sea-orm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-orm/compare/0.10.2...0.10.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 08:49:02 +01:00
Eugene Pankov 2040e92176
Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
Eugene Pankov 95313a2923
bumped sea-orm 2022-11-11 17:36:30 +01:00
Eugene Pankov 6ab27e0854
bumped sea-orm 2022-11-11 17:22:34 +01:00
Eugene Pankov 2b7baac016
lint, removed lazy_static 2022-11-03 23:44:51 +01:00
Eugene Pankov 42f9c68788
bumped rust 2022-11-03 23:10:51 +01:00
Eugene Pankov c236da5e5c
fixed #452 - native MySQL and Postgres support 2022-11-02 20:03:44 +01:00
Eugene Pankov a8e21b38d4
fixed session recordings not getting cleaned up - fixes #310 2022-10-02 20:02:06 +02:00
Eugene Pankov 47152bc718
Bump version: 0.6.3 → 0.6.4 2022-09-26 22:57:45 +02:00
Eugene Pankov 935a5d3e7c
Bump version: 0.6.2 → 0.6.3 2022-09-20 09:40:31 +03:00
Eugene Pankov c6b10e8b62
Bump version: 0.6.1 → 0.6.2 2022-09-14 19:36:51 +02:00
Eugene Pankov 900426cc75 bumped poem 2022-09-13 22:56:26 +02:00
dependabot[bot] f9546ee9f5 Bump poem-openapi from 2.0.6 to 2.0.10
Bumps [poem-openapi](https://github.com/poem-web/poem) from 2.0.6 to 2.0.10.
- [Release notes](https://github.com/poem-web/poem/releases)
- [Commits](https://github.com/poem-web/poem/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 22:56:26 +02:00
Eugene Pankov a94fc4725e
Bump version: 0.6.0 → 0.6.1 2022-09-13 10:47:42 +02:00
Eugene Pankov f9f92464b0
Bump version: 0.5.0 → 0.6.0 2022-09-06 23:08:38 +02:00
Eugene Pankov 5ddc260262
Remote port and X11 forwarding - fixes #11, fixes #12 2022-09-04 12:06:09 +02:00
dependabot[bot] a64f47a8b9 Bump once_cell from 1.13.1 to 1.14.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-03 00:26:07 +02:00