93 Commits

Author SHA1 Message Date
Brad Harris
ff079b96fa
Org SSO Page updates (#16868)
* Breaking SSO page into components & react-query

* wrapper component not needed anymore

* position off of bottom instead

* add a heading/subheading for consistency

* add clientside validation

* adding oidcConfig.issuer to api response

* updating test

* minor cleanup
2023-03-16 21:59:08 +01:00
Milan Pavlik
59e58f96c1
[common-go] Composable log fields (#16860)
* [common-go] Composable log fields

* add test for compose

* use in public api

* fix

* fix
2023-03-16 20:57:08 +01:00
Milan Pavlik
59ff034d6f
[public-api] Use context logger (#16686)
* Fix

* Fix

* Fix

* Fix

* Fix

* [public-api] Use context logger

* fix

* Fix

* fix

* Fix

* fix

* fix

* fix

* fix

* fix

* Fix

* fmt

* fix

* retest
2023-03-15 13:52:07 +01:00
Milan Pavlik
6291b6ce90
[public-api] List teams concurrently (#16848)
* [public-api] List teams concurrently

* Fix
2023-03-15 09:00:07 +01:00
Milan Pavlik
7b095abbbe
[public-api] Fix GetIDToken test (#16714) 2023-03-07 20:55:05 +01:00
Christian Weichel
da4cafd5e5
Gitpod OIDC Identity Provider (#16482)
* Prototype IDP provider

* [gp cli] Add IDP commands

* [public-api] Remove zitadel based IDP implementation

* [gitpod-cli] Add IDP support for Vault

* [idp] Remove per-org IDP

* [idp] Add key cache and random key IDs

* [idp] Defer GetIDToken authorisation to server

* [idp] Add Redis public key cache

* [gitpod-cli] Hide IDP commands

* [idp] Add key ID to JWT

* [idp] Add unit tests

* [idp] Adress review comments

* [public-api-server] Use logging middleware globally

* [public-api-server] Simplify service registration

* [idp] Add Redis outage resilience
2023-03-03 17:11:01 +01:00
Alex Tugarev
f4889ad5e0 [oidc] assertIssuerIsReachable 2023-02-10 08:58:15 +01:00
Milan Pavlik
1dc48fbc23 [teams] Remove slug usage 2023-02-07 07:51:44 +01:00
Milan Pavlik
e5c8da1491 [oidc] Implement Get OIDC Client Config API 2023-01-20 15:53:28 +01:00
Milan Pavlik
b984390bfb [oidc] Move create RPC directly to public-api 2023-01-20 15:20:28 +01:00
Milan Pavlik
72a31730f7 [oidc] Delete OIDC Client Config API 2023-01-20 15:00:28 +01:00
Alex Tugarev
487b7edfde [public-api] re-generate and adjust callsites 2023-01-20 12:11:27 +01:00
Milan Pavlik
7012fe2ce3 [oidc] List client configs API implementation 2023-01-19 14:30:27 +01:00
Milan Pavlik
371de3f842 [public-api] Reduce duplication in validation functions 2023-01-19 09:18:26 +01:00
Milan Pavlik
e3fb86f950 [oidc] Propagate OrganisationID to IAM component 2023-01-19 09:05:26 +01:00
Milan Pavlik
58a06943f6 [papi] Refactor valdiation functions to a file 2023-01-17 11:26:25 +01:00
Alex Tugarev
ba6ce0ecce [public-api] Implement CreateClientConfig 2023-01-13 17:37:21 +01:00
Jean Pierre
d5e03f248f Handle send error 2023-01-12 08:50:51 +01:00
mustard
e82fe80af9 [public-api] add workspaceStatus stream rpc 2023-01-09 10:59:48 +01:00
Milan Pavlik
d04fd19960 [public-api] Implement & Use Delete Workspace RPC 2023-01-04 10:15:43 +01:00
Milan Pavlik
f8fd16eea9 [public-api] Implement StopWorkspace 2023-01-03 09:58:43 +01:00
Milan Pavlik
874a6b5511 [public-api] Validate Workspace ID is a UUID 2022-12-20 13:34:29 -03:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Jean Pierre
3c4b6676ee [public-api] implement public api methods for supervisor
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 12:45:18 -03:00
Milan Pavlik
4fe78b14b5 [public-api] Implement ProjectsService.DeleteProject 2022-12-08 12:01:19 -03:00
Milan Pavlik
114a3bd1b4 [oidc] Add stub RPCs 2022-12-07 05:05:17 -03:00
Milan Pavlik
e5dd0238e9 [pat] API allows update which does not change any data 2022-12-01 13:42:00 -03:00
Milan Pavlik
99db58e2a4 [pat] Fix NotFound error handling 2022-11-30 12:53:59 -03:00
Milan Pavlik
7b7bb5fb1f [pat] Remove handling log message 2022-11-30 11:15:59 -03:00
Milan Pavlik
4ebb30d4d9 [pat] Store hash as sha256 instead of bcrypt 2022-11-28 14:51:57 -03:00
Milan Pavlik
5642845022 [pat] Update Personal Access Token 2022-11-25 05:47:54 -03:00
Milan Pavlik
fbe70ea109 [public-api] Implement ProjectsService.ListProjects 2022-11-24 07:12:53 -03:00
Milan Pavlik
7ef62ba4a2 [pat] Validate and enforce scopes for PATs 2022-11-24 06:22:53 -03:00
Milan Pavlik
2ce9d02743 [pat] Validate PAT name 2022-11-24 05:57:53 -03:00
Milan Pavlik
64ed64a428 [pat] Remove description field 2022-11-24 05:19:53 -03:00
Milan Pavlik
10ede9c983 [pat] Check personal access tokens enabled fafeature flag against teams 2022-11-24 04:56:53 -03:00
Jean Pierre
d70072131d [public-api] delete personal access token
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 12:11:53 -03:00
Milan Pavlik
0d759f7a66 [public-api] Implement ProjectsService.CreateProject 2022-11-23 10:58:53 -03:00
Milan Pavlik
bce5754a35 [pat] Fix workflow test from semantic merge 2022-11-23 10:24:52 -03:00
Jean Pierre
afac3c9b43 [public-api] regenerate personal access token
Co-authored-by: Milan Pavlik <milan@gitpod.io>
Co-authored-by: mustard <huiwen@gitpod.io>
2022-11-23 10:01:52 -03:00
Milan Pavlik
393664b794 [public-api] PAT Workflow test 2022-11-23 09:43:52 -03:00
Milan Pavlik
d14c82af19 [public-api] Remove hash property from Personal Access Token 2022-11-22 13:32:52 -03:00
Laurie T. Malau
72de7937bf [pat] Implement GetPersonalAccessToken 2022-11-22 13:31:52 -03:00
Milan Pavlik
4913d48793 [public-api] Create Personal Access Token implementation 2022-11-22 11:39:52 -03:00
Milan Pavlik
a0a9ddddc5 [public-api] Use personal access token signing key 2022-11-22 07:11:52 -03:00
Milan Pavlik
b30941bc83 [public-api] Implement list personal access tokens 2022-11-22 06:53:51 -03:00
Jean Pierre
cd144de51f Add IDEClientService 2022-11-17 07:07:46 +02:00
Milan Pavlik
728d87011f [public-api] Wire up DB connection 2022-11-16 18:17:46 +02:00
Milan Pavlik
3a9e9bfee2 [public-api] Add Tokens RPC stubs 2022-11-16 11:31:45 +02:00
Milan Pavlik
d3eb25cfd2 [public-api] Initial stub implemention for CreateToken 2022-11-16 10:56:45 +02:00