Page MenuHomeSoftware Heritage

Configure access to replicabilitystamp.org user
Closed, MigratedEdits Locked

Description

  • Reference user in keycloak
  • Install user with deposit role (through keycloak ui)
  • Prepare deposit db

Event Timeline

ardumont triaged this task as Normal priority.Nov 9 2021, 1:58 PM
ardumont created this task.

db is almost ready:

swhdeposit@deposit:~$ swh deposit admin     --config-file /etc/softwareheritage/deposit/server.yml     --platform production     user create     --collection http://www.replicabilitystamp.org     --username danielacabiddu
Create collection 'http://www.replicabilitystamp.org'.
Collection 'http://www.replicabilitystamp.org' created.
Create user 'danielacabiddu'.
User 'danielacabiddu' created.

What's missing, provider_url and domain:

13:59:37 swh-deposit@db1:5432=> select * from deposit_client where user_ptr_id=11;
+-------------+-------------+--------------+--------+
| user_ptr_id | collections | provider_url | domain |
+-------------+-------------+--------------+--------+
|          11 | {10}        |              |        |
+-------------+-------------+--------------+--------+
(1 row)

Time: 4.790 ms