bug fix: add expires_in field to OpenIDTokenType (#130)

As we recently enforcing `DisallowUnknownFields()` while checking JSON input we need to add all required fields to `OpenIDTokenType` such as `expires_in`
This commit is contained in:
fkwp
2025-11-13 08:55:23 +01:00
committed by GitHub
parent 6573de0d93
commit 82c1bf4cce
2 changed files with 13 additions and 4 deletions

View File

@@ -54,6 +54,7 @@ type OpenIDTokenType struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
MatrixServerName string `json:"matrix_server_name"`
ExpiresIn int `json:"expires_in"`
}
type LegacySFURequest struct {