Skip to content

Issue deserializing Azure token #106

@espensv

Description

@espensv

Trying to use this crate (2.5.1) to authenticate against Azure AD.

Parse(Error { path: Path { segments: [Map { key: "expires_in" }] }, original: Error("invalid type: string \"3599\", expected u64", line: 1, column: 42) }

As I understand it the crate expects the "expires_in" field to be a u64, but is a string in the Azure response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions