We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0df52d commit ff81fc3Copy full SHA for ff81fc3
1 file changed
src/SPID.AspNetCore.Authentication/Saml/SamlHandler.cs
@@ -81,6 +81,7 @@ public static AuthnRequestType GetAuthnRequest(string requestId,
81
Version = SamlConst.Version,
82
IssueInstant = now.AddMinutes(nowDelta).ToString(dateTimeFormat),
83
Destination = identityProvider.GetSingleSignOnServiceUrl(requestMethod),
84
+ ProtocolBinding = requestMethod == RequestMethod.Post ? SamlConst.ProtocolBindingPOST : SamlConst.ProtocolBindingRedirect,
85
ForceAuthn = true,
86
ForceAuthnSpecified = true,
87
Issuer = new NameIDType
0 commit comments