matrix-org / matrix-authentication-service

OAuth2.0 + OpenID Provider for Matrix Homeservers
https://matrix-org.github.io/matrix-authentication-service/
Apache License 2.0
112 stars 32 forks source link

Feature request: Simplify the setup process #1375

Closed dklimpel closed 1 year ago

dklimpel commented 1 year ago

I have a few comments that I as an server admin notice and can possibly be improved to make it easier for the community to use the module in the future.

I will probably update the ticket in the future.

Differences in documentation

Run the server via cargo run -- server -c config.yaml https://github.com/matrix-org/matrix-authentication-service#running

vs.

mas-cli server https://matrix-org.github.io/matrix-authentication-service/usage/usage.html#running

The official documentation has no infromation about:

sandhose commented 1 year ago

The documentation and distribution is definitely lacking. Although it is already in my todo-list to make that better in the next few weeks, contributions on that front is definitely appreciated! Feel free to ask on #matrix-auth:matrix.org if something needs to be clarified.

At some point, we were embedding all the assets in the binary, which did not scale well.

For the record, for ~production, I'm currently relying on the nightly docker images. The Docker image is a good source to know what's needed to run it, outside of the binary itself:

I'm definitely down to publish full archives with both the binary and all the assets.

About publishing versions, I'm not sure when the service will be stable enough to cut a clear version with proper changelogs between versions.

A few questions we would need to answer:

sandhose commented 1 year ago

Heads up that a first v0.1.0 release has been cut, with pre-built binaries available: https://github.com/matrix-org/matrix-authentication-service/releases/tag/v0.1.0

I'm gonna document this next week, so I'll keep this issue open for now.

sandhose commented 1 year ago

I think the documentation is good enough now, and we provide pre-built binaries on releases. See #1944 as well

https://matrix-org.github.io/matrix-authentication-service/setup/installation.html