1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-07 22:41:18 +03:00

Add the standard API scope to the compat token introspection

This commit is contained in:
Quentin Gliech
2022-12-28 11:20:35 +01:00
parent f4ba9ba568
commit 3bca5ab9be
3 changed files with 105 additions and 137 deletions

View File

@ -80,7 +80,7 @@ pub async fn lookup_active_compat_access_token(
ON ue.user_email_id = u.primary_user_email_id
WHERE ct.access_token = $1
AND ct.expires_at < $2
AND (ct.expires_at < $2 OR ct.expires_at IS NULL)
AND cs.finished_at IS NULL
"#,
token,