Quentin Gliech 99e05b4a4f Fix the authorization grant template
It previously relied on the client being in the authorization grant,
which is not the case anymore. This commit also adds a test to ensure
we're not breaking this template in the future.
2023-01-31 16:50:48 +01:00
2023-01-27 15:46:13 +01:00
2023-01-27 17:23:20 +01:00
2022-07-04 15:49:58 +02:00
2022-11-18 13:43:01 +01:00
2021-06-10 13:48:28 +02:00
2021-07-09 16:03:39 +02:00
2021-09-25 18:00:32 +02:00
2023-01-31 16:25:15 +01:00
2021-07-08 14:41:54 +02:00

OAuth 2.0 authentication server for Matrix

This is an attempt to implement an OAuth 2.0 and OpenID Connect authentication server for Matrix, following MSC2964. Don't expect too much here for now, this is very much a work in progress.

See the Documentation for information on installation and use.

Running

  • Install Rust and Cargo
  • Install Node.js and npm
  • Install Open Policy Agent
  • Clone this repository
  • Build the frontend
    cd frontend
    npm ci
    npm run build
    cd ..
    
  • Build the Open Policy Agent policies
    cd policies
    make
    # OR, if you don't have `opa` installed and want to build through the OPA docker image
    make DOCKER=1
    cd ..
    
  • Generate the sample config via cargo run -- config generate > config.yaml
  • Run the database migrations via cargo run -- database migrate
  • Run the server via cargo run -- server -c config.yaml
  • Go to http://localhost:8080/
Description
No description provided
Readme AGPL-3.0 26 MiB
letro-v1.1.5 Latest
2026-05-02 09:47:12 +00:00
Languages
Rust 82.9%
TypeScript 9.8%
HTML 4.4%
Open Policy Agent 1%
CSS 1%
Other 0.8%