Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consent: On first prompt=none after authentication, times mismatch #874

Closed
aeneasr opened this issue May 24, 2018 · 1 comment
Closed

consent: On first prompt=none after authentication, times mismatch #874

aeneasr opened this issue May 24, 2018 · 1 comment
Assignees
Labels
bug Something is not working.
Milestone

Comments

@aeneasr
Copy link
Member

aeneasr commented May 24, 2018

The first ID token after authenticating and remembering login is

{     "access_token": "a-LfDoimq-CSafvN7R2xatmWBzTZmyHSMwt_KxsIzFo.B7uKaHcr1nvNBUqSNizNSAzVBOWvFPiKLR-DEOIaZQY",     "expires_in": 3599,     "id_token": {         "at_hash": "JjRX2tYPkQlG3Vl3aSji2A",         "aud": [             "test-client"         ],         "auth_time": 1527155396,         "baz": "bar",         "exp": 1527158996,         "iat": 1527155396,         "iss": "https://oidc-certification.ory.sh:8443/",         "jti": "9f3eae59-d3dd-4419-80f0-e05006968a6d",         "nonce": "YyDWyytTsH5OgRkB",         "rat": 1527155391,         "sub": "foo@bar.com"     },     "scope": "openid",     "state": "ML39EY4CRraKhliF",     "token_type": "bearer" }
--

The second is

{
    "access_token": "V00Mt0L5AfXYswIzYIUX5I8AFM0hzID6i5J9mUf4TNk.fVruI_AV_i_h2XZew5fGBTgkOeh6Zg8NZtXpbPBF-k0",
    "expires_in": 3599,
    "id_token": {
        "at_hash": "HDVFK7oO5ypP--_JBYGL1Q",
        "aud": [
            "test-client"
        ],
        "auth_time": 1527155395,
        "baz": "bar",
        "exp": 1527158998,
        "iat": 1527155398,
        "iss": "https://oidc-certification.ory.sh:8443/",
        "jti": "17024cf8-6f47-412d-a607-23404b18fc9c",
        "nonce": "DA9vXhL6lULFdTsK",
        "rat": 1527155397,
        "sub": "foo@bar.com"
    },
    "scope": "openid",
    "state": "QEv2up8Cxe0rBfdT",
    "token_type": "bearer"
}

So there seems to be a one second difference here which is probably (again) some timing issue.

@aeneasr aeneasr added the bug Something is not working. label May 24, 2018
@aeneasr aeneasr added this to the 1.0.0-alpha.1 milestone May 24, 2018
@aeneasr aeneasr self-assigned this May 24, 2018
@aeneasr
Copy link
Member Author

aeneasr commented May 24, 2018

Solved on master

@aeneasr aeneasr closed this as completed May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant