Skip to content

ExpiresOn should be an int #3

@robeving

Description

@robeving

Hi,

Your code works great with C# but seems to fail with Python. I did some digging after getting this stack trace.
image

I think the problem is here. ExpiresOn should be Unix epoch based number.
"The timestamp of the expiration of the access token; represented as the number of seconds from "1970-01-01T0:0:0Z UTC" and corresponds to the token's exp claim. In this case, the token expires on 2019-08-08T06:10:11+00:00 (in RFC 3339)"

Example response:
https://learn.microsoft.com/en-us/azure/service-fabric/how-to-managed-identity-service-fabric-app-code

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