Skip to content

Gusto embedded response from introspection.refresh_token expects created_at to be str but in JSON response is int fails pydantic validation #31

@jrzerr

Description

@jrzerr

Gusto embedded failing pydantic validation, output from /oauth/token is like:

{
    "access_token": "access-token-here",
    "token_type": "Bearer",
    "expires_in": 7200,
    "refresh_token": "refresh-token-here",
    "scope": "public scope here...",
    "created_at": 1766098962
}

Authentication type expects created_at to be str not int. Pydantic validation fails.

I am on release 0.2.4 of gusto_embedded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions