Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix requestOpenIdToken response: integer expires_in #10175

Merged
merged 2 commits into from
Jun 16, 2021

Commits on Jun 14, 2021

  1. Fix requestOpenIdToken response: integer expires_in

    `expires_in` must be an integer according to the OpenAPI spec:
    https://github.com/matrix-org/matrix-doc/blob/master/data/api/client-server/definitions/openid_token.yaml#L32
    
    True division (`/`) returns a float instead (`"expires_in": 3600.0`).
    Floor division (`//`) returns an integer, so the response is spec compliant.
    
    Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
    lukaslihotzki committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    2ab40f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. Configuration menu
    Copy the full SHA
    c878261 View commit details
    Browse the repository at this point in the history