docs(auth): add Matrix SSO integration documentation

- Document OIDC endpoints and authentication flow
- Add Synapse configuration examples
- Include troubleshooting guide
- Remove debug logging from OIDC handlers

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-29 12:57:48 +01:00
parent 1fcd5de8f3
commit b150a16497
3 changed files with 192 additions and 15 deletions

View file

@ -129,10 +129,8 @@ export class OidcController {
* Handle OIDC request by forwarding to Better Auth
*/
private async handleOidcRequest(req: Request, res: Response) {
console.log('[OIDC Controller] Handling request:', req.method, req.originalUrl);
try {
const response = await this.betterAuthService.handleOidcRequest(req);
console.log('[OIDC Controller] Better Auth response status:', response.status);
// Set status code
res.status(response.status || HttpStatus.OK);