You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So still on with identity server 4, and trying to sort the logout.. In order to do that, I need to pass the id_token_hint returned from the original authentication.
I can see it being returned and can store it against the umbraco member profile at the ExternalLoginConfirmation callback
but should this really be stored in the user.Indentity.claims collection, which looks like it strips any of the claims returned other than the specific umbraco mapped ones?
Again any help in this regard really appreciated. :-)
The text was updated successfully, but these errors were encountered:
I show how to store claims returned back from identity server in the local identity without the need for a umbraco member. You would then be able to store the id_token_hint claim locally and use it in the RedirectToIdentityProvider notification event. Something like this:
RedirectToIdentityProvider = n =>
{
// if signing out, add the id_token_hint
if (n.ProtocolMessage.RequestType == OpenIdConnectRequestType.LogoutRequest)
{
var idTokenHint = n.OwinContext.Authentication.User.FindFirst("id_token");
if (idTokenHint != null)
{
n.ProtocolMessage.IdTokenHint = idTokenHint.Value;
}
}
return Task.FromResult(0);
}
If anyone could help out with this project to get this done automatically and always working for any provider let me know. I "think" this is basically the same topic as this? #56 (comment)
Sorry for the loads of requests..
So still on with identity server 4, and trying to sort the logout.. In order to do that, I need to pass the id_token_hint returned from the original authentication.
I can see it being returned and can store it against the umbraco member profile at the ExternalLoginConfirmation callback
but should this really be stored in the user.Indentity.claims collection, which looks like it strips any of the claims returned other than the specific umbraco mapped ones?
Again any help in this regard really appreciated. :-)
The text was updated successfully, but these errors were encountered: