1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-24 23:01:05 +03:00

data-model: Make the user_id optional in the OAuth 2.0 sessions

This commit is contained in:
Quentin Gliech
2023-09-04 16:32:43 +02:00
parent 3691090757
commit 7e247830c9
16 changed files with 133 additions and 85 deletions

View File

@@ -517,7 +517,7 @@ export type Oauth2Session = CreationEvent &
/** The state of the session. */
state: Oauth2SessionState;
/** User authorized for this session. */
user: User;
user?: Maybe<User>;
};
export type Oauth2SessionConnection = {