Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
add constants for ws-fed signout params #2220
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Apr 11, 2018
1 parent 1742e02 commit 40c5b66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/IdentityServer4/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,11 @@ public class Filters
JwtClaimTypes.Confirmation
};
}

public static class WsFedSignOut
{
public const string LogoutUriParameterName = "wa";
public const string LogoutUriParameterValue = "wsignoutcleanup1.0";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public async Task<EndSessionCallbackValidationResult> ValidateCallbackAsync(Name
}
else if (client.ProtocolType == ProtocolTypes.WsFederation)
{
url = url.AddQueryString("wa", "wsignoutcleanup1.0");
url = url.AddQueryString(Constants.WsFedSignOut.LogoutUriParameterName, Constants.WsFedSignOut.LogoutUriParameterValue);
}

frontChannelUrls.Add(url);
Expand Down

0 comments on commit 40c5b66

Please sign in to comment.