Open PhilipSkinner opened 7 years ago
I use the acr_values parameter in the redirect to idp notification.
var acrValues = signInMessage.AcrValues.ToDictionary(v => v.Split(':')[0], v => v.Split(':')[1]);
if (acrValues.ContainsKey(Constants.AuthorizeRequest.Prompt)) notification.ProtocolMessage.Prompt = acrValues[Constants.AuthorizeRequest.Prompt];
I have a need to be able to propagate the prompt parameter from a client to an upstream IDP. This wasn't possible as it wasn't included in the sign in message.
I've added a new property to the sign in message and set the prompt value in the appropriate place.