Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions scripts/msc4191-auth-metadata.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
diff --git a/data/api/client-server/oauth_server_metadata.yaml b/data/api/client-server/oauth_server_metadata.yaml
index 4cdb3aa6..2a49064e 100644
--- a/data/api/client-server/oauth_server_metadata.yaml
+++ b/data/api/client-server/oauth_server_metadata.yaml
@@ -139,6 +139,24 @@ paths:
items:
type: string
description: A prompt value that the server supports.
+ account_management_uri:
+ type: string
+ format: uri
+ description: |-
+ The URL where the user is able to access the account management capabilities of the homeserver.
+
+ This is what is currently referred to as the "homeserver's web UI"
+
+ MSC4191: Account management for OAuth 2.0 API
+ account_management_actions_supported:
+ type: array
+ description: A JSON array of actions that the account management URL supports
+ items:
+ type: string
+ description: |-
+ Actions that the account management URL supports
+
+ MSC4191: Account management for OAuth 2.0 API
required:
- issuer
- authorization_endpoint
@@ -149,6 +167,7 @@ paths:
- grant_types_supported
- response_modes_supported
- code_challenge_methods_supported
+ additionalProperties: true
example: {
"issuer": "https://account.example.com/",
"authorization_endpoint": "https://account.example.com/oauth2/auth",
3 changes: 3 additions & 0 deletions scripts/prepare_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ git apply ../scripts/get-room-state.patch
echo "Applying space hierarchy patch"
git apply ../scripts/space-hierarchy.patch

echo "Applying MSC4191 auth metadata patch"
git apply ../scripts/msc4191-auth-metadata.patch

)
fi

Expand Down