Skip to content

Conversation

andrew-farries
Copy link
Contributor

Description

Use a valid UUID for the one-time admin user added by #15805.

A valid UUID is required for the admin user to able to interact with the public/server API to set up SSO.

See some internal discussion.

Related Issue(s)

Fixes #

How to test

  1. Start workspace on this branch and kubectl port-forward deployment/server 9000:9000
  2. Obtain OTS key: curl -X POST localhost:9000/admin-user/login-token/create
  3. Use the result to construct your login URL: https://<preview-domain>/api/login/ots/admin-user/:yourOtsKey and visit it.

It should now be possible to configure an OICD client (Settings | OIDC).

Release Notes

NONE

Documentation

Build Options:

  • /werft with-github-actions
    Experimental feature to run the build with GitHub Actions (and not in Werft).
  • leeway-no-cache
    leeway-target=components:all-ci
  • /werft no-test
    Run Leeway with --dont-test
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@andrew-farries andrew-farries requested a review from a team January 23, 2023 13:36
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-af-valid-uuid-for-admin-user.1 because the annotations in the pull request description changed
(with .werft/ from main)

@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Jan 23, 2023
@roboquat roboquat merged commit 4b9a5fd into main Jan 23, 2023
@roboquat roboquat deleted the af/valid-uuid-for-admin-user branch January 23, 2023 13:48
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Jan 24, 2023
roboquat pushed a commit that referenced this pull request Mar 23, 2023
* [db] Align IDs of "admin-user" (follow up for #15974)

* [db] Drop "admin" role for "admin-user"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/XS team: webapp Issue belongs to the WebApp team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants