Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123044
D5250.id18831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D5250.id18831.diff
View Options
diff --git a/data/common/common.yaml b/data/common/common.yaml
--- a/data/common/common.yaml
+++ b/data/common/common.yaml
@@ -3110,6 +3110,9 @@
- swh.web.api.throttling_exempted
- swh.web.api.graph
+keycloak::resources::clients::deposit:roles:
+ - swh.deposit.api
+
keycloak::resources::protocol_mappers::audience:
resource_name: audience
type: oidc-audience-mapper
@@ -3175,6 +3178,17 @@
protocol_mappers:
- "%{alias('keycloak::resources::protocol_mappers::audience')}"
- "%{alias('keycloak::resources::protocol_mappers::groups')}"
+ swh-deposit:
+ settings:
+ redirect_uris:
+ # Should match letsencrypt::certificates.archive_staging.domains
+ - https://deposit.staging.swh.network/*
+ - https://deposit.internal.staging.swh.network/*
+ roles: "%{alias('keycloak::resources::clients::deposit:roles')}"
+ direct_grant_flow: direct_grant_no_otp-SoftwareHeritageStaging
+ protocol_mappers:
+ - "%{alias('keycloak::resources::protocol_mappers::audience')}"
+ - "%{alias('keycloak::resources::protocol_mappers::groups')}"
borg::repository_user: borg
borg::repository_group: borg
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 17, 5:32 PM (1 w, 7 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3235024
Attached To
D5250: keycloak: Add swh-deposit client in staging realm
Event Timeline
Log In to Comment