Commit graph

40 commits

Author SHA1 Message Date
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
32078670a8
missed rename 2024-03-23 22:02:48 +01:00
Eugene
ef3c20719f
word 2024-03-23 21:54:21 +01: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
75a2b8c5c6
fixed #929 - support additional trusted OIDC audiences 2024-01-13 11:07:26 +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
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
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
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
Eugene Pankov
56ffb22fca
Merge branch 'main' of https://github.com/warp-tech/warpgate 2022-12-14 22:22:34 +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
Eugene Pankov
1d34e5e4e2
lint 2022-12-14 22:10:35 +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
Eugene Pankov
fffd799a5a
fixed #406 - Apple ID SSO 2022-11-21 22:01:08 +01:00
dependabot[bot]
652a877fe7 Bump openidconnect from 2.3.2 to 2.4.0
Bumps [openidconnect](https://github.com/ramosbugs/openidconnect-rs) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/ramosbugs/openidconnect-rs/releases)
- [Commits](https://github.com/ramosbugs/openidconnect-rs/compare/2.3.2...2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 08:53:12 +01:00
Eugene Pankov
2040e92176
Bump version: 0.6.4 → 0.6.5 2022-11-16 10:02:13 +01:00
Eugene Pankov
90b544081d
lint 2022-10-31 23:35:26 +01:00
Eugene Pankov
055a12ba32
log precise SSO discovery errors 2022-10-30 10:52:33 +01:00
Eugene Pankov
0c3567b300
Update sso.rs 2022-10-29 20:51:45 +02:00
Eugene Pankov
14ca1bc0c6
log precise OIDC server error messages 2022-10-29 20:51:38 +02:00
Eugene Pankov
512396ffb4
#406 - apple id redirection fixes 2022-10-29 20:51:29 +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
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
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
Eugene Pankov
51df7083de
database config provider 2022-09-02 14:00:08 +02:00
Eugene Pankov
d292cca03e
Bump version: 0.4.0 → 0.5.0 2022-08-14 13:02:49 +02:00
Eugene Pankov
c5cf5bf1d1
added e2e tests 2022-08-14 12:36:49 +02:00
Eugene
f7bb12e44d
OIDC login support (#222) 2022-08-05 20:04:40 +02:00