atpyk
atpyk
Great. Many thanks.
Thanks for your help!
Yes, it's a client of IdSvr. Tokens are id token and access token. The client portal uses the "oidc-client.js" according to the official sample. More logs related sign in: dbug:...
For debugging easliy, I've set the tokens lifetime to 50s: RefreshTokenExpiration = TokenExpiration.Absolute, AbsoluteRefreshTokenLifetime = 10, IdentityTokenLifetime = 50, AccessTokenLifetime = 50, And at client side, I set the clockkrew...
Okay, I will try it. But I have a question about the logic of cookie validation. If there is no idp claim in cookie, why did you throw exception, not...
This is the infos that was shown on diagnostics page when I signin successfully. The idp is 'local'. ``` Authentication cookie Claims sub 10e53c52-ae5f-4f11-98e5-23917662cc66 name kirsten1 auth_time 1513563373 AspNet.Identity.SecurityStamp 841a873b-f357-43b6-a048-9ff62da4a2e5...
I use the oidc-client-js, not the Microsoft oidc. I've verified this issue by using Microsoft oidc, there is no issue raised. But once I manually delete the cookie that is...
I've debug the Idsvr code, the version is 2.0.4 DefaultUserSession-> AuthenticateAsync -> line 82: ``` var result = await handler.AuthenticateAsync(); ``` this method does not return the idp claim. The...
I add the code that is from your IdentityServer4.AspNetIdentity: ``` builder.Services.Configure(opts => { opts.OnRefreshingPrincipal = SecurityStampValidatorCallback.UpdatePrincipal; }); public static Task UpdatePrincipal(SecurityStampRefreshingPrincipalContext context) { var newClaimTypes = context.NewPrincipal.Claims.Select(x=>x.Type).ToArray(); var currentClaimsToKeep =...
Is there any progress for this issue?