New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with a self-hosted synapse #13
Comments
Did you figure this out? I'm running my own synapse server with a custom made javascript client and I'm trying to get push notifications working to devices that support push (android, ios, chrome). But I can't figure out how to hook up Sygnal to Synapse. I must be missing something but I'm kind of clueless how to actually use Sygnal to send notifications. Any pointers in the right direction would be great! |
It is actually the client who tells Synapse that it wants to be contacted via your custom Sygnal server URL. That implies that you don't have to configure anything in the Synapse or Sygnal config files upfront. The client uses the Client-Server API to tell Synapse about the Pusher. Maybe this documentation helps: https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-pushers-set |
Does this mean we can already run our own identity service, without having to rely on mxisd? We currently have few issues with having to use |
For clarity, the push gateway is part of your mobile app deployment rather than your home server deployment: each mobile app publishers has their own which has the APNS/GCM private keys for their apps, so it can only use the one that has the relevant private key (@vinzenzweber correctly describes how this works). @almereyda we should take this somewhere else rather than fill this thread with chat about a different service, but I'd be interested to know which endpoints CORS isn't working on - this doesn't sound intentional. Come chat in #matrix-identity:matrix.org? |
I didn't know that channel; joining. Edit: Can't join, with another CORS error, probably due to an outdated synapse. |
sounds like this was a misunderstanding |
please visit my own sygnal push gateway with docker on https://github.com/mrtshoot/docker-sygnal |
In the case of a self-hosted synapse server, the push gateway is configured to serve the official app.
Can I run my own sygnal next to synapse, and the Riot app autodetects my custom notification service?
A recent blog post also mentioned https://github.com/slp/matrix-pushgw
The text was updated successfully, but these errors were encountered: