Commit graph

18 commits

Author SHA1 Message Date
Eugene
ef3c20719f
word 2024-03-23 21:54:21 +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
79bfa3c81a
Update conftest.py 2024-01-23 12:31:00 +01:00
Eugene
eee486a596
Update run.sh 2024-01-23 12:20:19 +01:00
dependabot[bot]
a65aaa8e8b Bump cryptography from 37.0.4 to 38.0.3 in /tests
Bumps [cryptography](https://github.com/pyca/cryptography) from 37.0.4 to 38.0.3.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/37.0.4...38.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 21:25:41 +01:00
Eugene Pankov
a4e3931675
cleanup 2023-01-09 09:22:25 +01:00
Eugene Pankov
406a6e171f
fixed cargo --all-features flag in tests 2023-01-08 21:25:18 +01:00
dependabot[bot]
dc5d1637a7 Bump certifi from 2022.6.15 to 2022.12.7 in /tests
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 22:12:26 +01:00
Eugene Pankov
fee236231b
temporarily exclude mysql test 2022-11-12 20:09:28 +01:00
Eugene Pankov
e0ca01486c
mysql test stab 2022-11-11 17:20:00 +01:00
Eugene Pankov
b7a08996d8
updated tests 2022-11-11 17:00:23 +01:00
Eugene Pankov
891760f092
temporarily disable test_direct_tcpip 2022-11-03 23:47:33 +01:00
Eugene Pankov
38eff07628
stabilize test_direct_tcpip 2022-10-17 20:27:52 +02:00
Eugene Pankov
5ddc260262
Remote port and X11 forwarding - fixes #11, fixes #12 2022-09-04 12:06:09 +02:00
Eugene Pankov
51df7083de
database config provider 2022-09-02 14:00:08 +02:00
Eugene Pankov
06a6065bc7
added rush as a submodule 2022-08-24 23:14:43 +02:00
Eugene
067250652d
Synchronize some ssh ops between client and target (#271) 2022-08-21 23:30:06 +02:00
Eugene Pankov
c5cf5bf1d1
added e2e tests 2022-08-14 12:36:49 +02:00