Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

IdentityServer userinfo endpoint not requested after silent renew #659

Closed
BoaPi opened this issue Sep 6, 2018 · 5 comments
Closed

IdentityServer userinfo endpoint not requested after silent renew #659

BoaPi opened this issue Sep 6, 2018 · 5 comments
Labels

Comments

@BoaPi
Copy link

BoaPi commented Sep 6, 2018

Hi,

at first thanks for the great library 馃槂

we currently facing the problem, that the silent renew is going to not working after about 30min. We were able to determine that the SubjectId is missing on IS4.

When looking into the network tab in chrome for the client requests, the following order is visible:

  1. authentication request
  2. silent renew request
  3. user info request

requests

Step three is missing before the next authentication request and due to that the SubjectId / id_token, I guess.

Our access-token lifetime is 1 h, identity-token lifetime is 5 min. For testing purpose we set the silent renew to trigger every 4 min.
We are using the oidc-client-js@1.4.1 in combination with the redux-oidc lib.

Is there anything we forget in our configuration on client / server side?

Thanks a lot.

@brockallen
Copy link
Member

We were able to determine that the SubjectId is missing on IS4.

sounds like your cookie at IS is gone/expired? are you using asp.net identity?

@BoaPi
Copy link
Author

BoaPi commented Sep 10, 2018

Hi @brockallen ,
yes we are using asp.net identity. I will check the cookie with the backend guy. Thanks for the hint. I will come back with more information.

@brockallen
Copy link
Member

Any update?

@BoaPi
Copy link
Author

BoaPi commented Sep 19, 2018

sorry for my late response.
The cookie got expired at the IS, so it is the common behavior.

Thanks for the support, this issue can be closed. 馃槂

@BoaPi BoaPi closed this as completed Sep 19, 2018
@asamaha1
Copy link

Hi @BoaPi ,
I really appreciate it if you can share the solution or the approach you took, I've been stuck on this issue 2 days now..

Thank you so much. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants