/_matrix/client/unstable/org.matrix.msc2965/auth_metadata getting 505 #5330
Replies: 3 comments 3 replies
-
|
Your MAS config is missing the required |
Beta Was this translation helpful? Give feedback.
-
|
this is my docker-compose version: '3.9' services: nginx: --- MAS Config Init ---mas-config-init: --- MAS ---mas: --- MAS PostgreSQL ---mas-db: |
Beta Was this translation helpful? Give feedback.
-
|
I want to rich end of businesss |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce
Where are you starting? What can you see?
I want to use insteof password oauth2 that user never login twice and use the token to login how can I do this
If I configure it then I am getting issue with {
"errcode": "M_UNRECOGNIZED",
"error": "Unrecognized request"
}
my configuration looking like with
homeserver.yaml
server_name: "matrix.x-software.com"
pid_file: /data/homeserver.pid
listeners:
port: 8008
tls: false
type: http
x_forwarded: true
resources:
names: [client, federation]
compress: false
database:
name: psycopg2
txn_limit: 10000
args:
user: synapse
password: postgres
database: synapse
host: matrix-synapse-db-1
port: 5432
cp_min: 5
cp_max: 10
log_config: "/data/matrix.x-software.com.log.config"
media_store_path: /data/media_store
registration_shared_secret: "1f@@QvDt^F5kJ=X5,wtjxv^znRm.P98h4vTIA#QRFaIhAx5E"
report_stats: true
macaroon_secret_key: "Ogt=S#kTQx6TWwM97ZvOcraZB^YGla@uBIFzc3W+rPZZpg&=O"
form_secret: "=n.TDdo0rQaRO6hYkudm-F=aDMrB+dHfKv_kTCHH;3LWueLa;"
#signing_key_path: "/data/matrix.x-software.com.signing.key"
trusted_key_servers:
server_name: "matrix.org"
enable_registration: false
enable_registration_without_verification: false
registrations_require_3pid: false
public_baseurl: "https://matrix.x-software.com/"
matrix_authentication_service:
enabled: true
endpoint: "http://192.168.1.74:8444/" # MAS endpoint
secret: "5SSDzVuYtZwphmC7m0AFWCHVW5kf6nAP"
password_config:
enabled: false
oauth2:
enabled: true
issuer: "http://192.168.1.74:8444/"
client_id: "synapse"
client_secret: "SYNAPSE_CLIENT_SECRET"
introspection_endpoint: "http://192.168.1.74:8444/oauth2/introspect"
#jwks_uri: "http://192.168.1.74:8444/.well-known/jwks.json"
scopes:
config.yaml
matrix:
kind: synapse
homeserver: matrix.x-software.com
secret: 5SSDzVuYtZwphmC7m0AFWCHVW5kf6nAP
endpoint: http://192.168.1.74:8080/
Reiner OAuth2-Provider (ohne OIDC) abbas latest copy 2
default:
providers:
upstream_oauth2: "custom-oauth2"
synapse_idp_id: oauth2-custom
human_name: "Meine OAuth2-App"
authorization_endpoint: "http://192.168.1.74:8444/oauth/authorize"
token_endpoint: "http://192.168.1.74:8444/oauth/token"
user_info_endpoint: "http://192.168.1.74:8444/api/userinfo"
client_id: "${CUSTOM_CLIENT_ID}"
client_secret: "${CUSTOM_CLIENT_SECRET}"
token_endpoint_auth_method: client_secret_basic
scope: "profile email"
claims_imports:
localpart:
action: require
template: "{{ user.email.split('@')[0].lower() }}"
displayname:
action: force
template: "{{ user.name }}"
email:
action: force
template: "{{ user.email }}"
I generate config.yaml with docker images then they to check validate then I have a problem with missing "secrets
root@matrixServer:/home/liadmin/DOCKER/matrixServer/docker-compose# docker exec matrix-mas-1 mas-cli config check -c config2.yaml
Error: missing field secrets
Outcome
Can Any one help me please where I am doing errors, which configurations are missing ?
Beta Was this translation helpful? Give feedback.
All reactions