You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
After a bit of trail and error I've successfully migrated my synapse server that was using oidc_providers: to use experimental_features: msc3861:.
The only real feedback I've got on the process is that it would be good if the docs pointed to the docker container for syn2mas and how to use it as I didn't find this bit clear, especially how to map old OIDC realm to new MAS realm.
Suggested commands for docs:
# Alias syn2mas for readability and ease of typingalias syn2mas='docker run --rm -v /srv/docker/matrix/mas-config.yaml:/mas.yml -v /srv/docker/matrix/server/homeserver.yaml:/homeserver.yaml ghcr.io/matrix-org/matrix-authentication-service/syn2mas'# Run the advisor
syn2mas --command advisor --synapseConfigFile /homeserver.yaml
# Do a dry run and check output
syn2mas --command migrate --synapseConfigFile /homeserver.yaml --masConfigFile /mas.yaml --upstreamProviderMapping oidc-keycloak:00000000000000000000000000 --dryRun
# Stop the server
docker compose down
# Do the migration
syn2mas --command migrate --synapseConfigFile /homeserver.yaml --masConfigFile /mas.yaml --upstreamProviderMapping oidc-keycloak:00000000000000000000000000 --dryRun false# Remove the alias as it is no longer neededunalias syn2mas
# Bring the server back up
docker compose up -d
In case it is useful for the docs too, this is my current docker-compose.yml which seems to work well - upstream HTTPS reverse proxy then proxies to 10.0.0.1:80 and 10.0.0.1:8080 for matrix.domain.tld and mas.domain.tld respectively.
After a bit of trail and error I've successfully migrated my synapse server that was using
oidc_providers:
to useexperimental_features: msc3861:
.The only real feedback I've got on the process is that it would be good if the docs pointed to the docker container for
syn2mas
and how to use it as I didn't find this bit clear, especially how to map old OIDC realm to new MAS realm.Suggested commands for docs:
In case it is useful for the docs too, this is my current
docker-compose.yml
which seems to work well - upstream HTTPS reverse proxy then proxies to 10.0.0.1:80 and 10.0.0.1:8080 for matrix.domain.tld and mas.domain.tld respectively.Hopefully this is useful feedback 🤞
The text was updated successfully, but these errors were encountered: