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

[WIP] Port to netstandard2.0 #12

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7a7d006
use aspnet core wsfed lib
616b2f Sep 3, 2017
09aa252
added RequestSecurityTokenResponse (undone/untested)
616b2f Sep 6, 2017
9450193
fixed rstr serialization and cleanup
616b2f Sep 7, 2017
889f21f
fixed rstr creation
616b2f Sep 9, 2017
b2a3b27
copy idsrvtest.pfx to output directory for tests
616b2f Sep 9, 2017
ef492d5
preparations for nuget module, fixes
616b2f Sep 22, 2017
38d1d84
changed namespace to wstrust 1.3
616b2f Sep 24, 2017
f481dd4
change references to nuget packages, some fixes
616b2f Dec 15, 2017
06f8e6a
typo fixed
616b2f Dec 20, 2017
d557de6
fix keyInfo creation, refactoring and cleanup
616b2f Jan 20, 2018
ab8b537
Update README.md
616b2f Jan 20, 2018
0a18b60
reference Microsoft.IdentityModel.* nuget packages
616b2f Aug 17, 2018
04dfbc9
fix tests and cleanup
616b2f Aug 17, 2018
833e167
update version of package references
616b2f Sep 18, 2018
8e56465
added generic extension method
616b2f Oct 1, 2018
b81b12b
added nuget meta to project file
616b2f Feb 2, 2019
d50dec9
moved module to separate dir
616b2f Feb 8, 2019
16840e7
merged upstream dev branch
616b2f Feb 11, 2019
457aefb
add back mvc owin client from upstream project
616b2f Feb 11, 2019
97ea762
updatet sln file
Feb 12, 2019
ff2b4a9
added missing files after last upstream merge
616b2f Feb 12, 2019
0366bf2
fix WSUtility namespace issue
616b2f Mar 2, 2019
04eb6bc
fix issue where the user is null
616b2f Mar 2, 2019
79a6489
update dependencies and small fixes
616b2f Mar 10, 2019
9b28c90
added sharepoint client for testing
Mar 20, 2019
b1508de
extracted certs from pfx file
Mar 25, 2019
de8821d
update references
616b2f Aug 21, 2019
a55ef95
update package references of core samples
616b2f Aug 22, 2019
acfefa8
updated win sample references
616b2f Sep 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,6 @@ paket-files/
# JetBrains Rider
.idea/
*.sln.iml

# mac files
.DS_Store
160 changes: 111 additions & 49 deletions IdentityServer4.WsFederation.sln
Original file line number Diff line number Diff line change
@@ -1,49 +1,111 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{54D98041-C6CE-4487-AC2B-3C44C6FF14D4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7DD70EFA-313C-4275-B586-F592EDFAFA1F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServer4.WsFederation", "src\IdentityServer4.WsFederation\IdentityServer4.WsFederation.csproj", "{BA230C51-500F-4E00-9F92-522E1AA97727}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC OWIN WS-Federation", "src\MvcOwinWsFederation\MVC OWIN WS-Federation.csproj", "{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreWsFederation", "src\AspNetCoreWsFederation\AspNetCoreWsFederation.csproj", "{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Clients", "Clients", "{68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|Any CPU.Build.0 = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|Any CPU.Build.0 = Release|Any CPU
{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BA230C51-500F-4E00-9F92-522E1AA97727} = {54D98041-C6CE-4487-AC2B-3C44C6FF14D4}
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1} = {68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}
{1F30E0E8-3C17-44C3-90AF-A0BE2E1D069A} = {68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}
{68E4130D-F17C-483D-B8C1-92BEDB3E0D6E} = {54D98041-C6CE-4487-AC2B-3C44C6FF14D4}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {917E525C-4ED5-4E03-AB25-E56F9469C4EB}
EndGlobalSection
EndGlobal
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{54D98041-C6CE-4487-AC2B-3C44C6FF14D4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServer4.WsFederation", "src\IdentityServer4.WsFederation\IdentityServer4.WsFederation.csproj", "{BA230C51-500F-4E00-9F92-522E1AA97727}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{BC99B936-C782-4BC4-B222-456B6B2FDBE6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServer4.WsFederation.Tests", "tests\IdentityServer4.WsFederation.Tests\IdentityServer4.WsFederation.Tests.csproj", "{45DF824C-F584-4EC8-95BD-6460DA14BA88}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Clients", "Clients", "{68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVC OWIN WS-Federation", "samples\clients\MvcOwinWsFederation\MVC OWIN WS-Federation.csproj", "{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreWsFederation", "samples\clients\AspNetCoreWsFederation\AspNetCoreWsFederation.csproj", "{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Server", "Server", "{C27DF028-C6E0-4BA0-B62D-B234BFA2C284}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{207D0B56-1E47-45B5-A8EF-BABC020A388E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServer4.WsFederation", "samples\server\IdentityServer4.WsFederation\IdentityServer4.WsFederation.csproj", "{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|x64.ActiveCfg = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|x64.Build.0 = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|x86.ActiveCfg = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Debug|x86.Build.0 = Debug|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|Any CPU.Build.0 = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|x64.ActiveCfg = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|x64.Build.0 = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|x86.ActiveCfg = Release|Any CPU
{BA230C51-500F-4E00-9F92-522E1AA97727}.Release|x86.Build.0 = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|Any CPU.Build.0 = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|x64.ActiveCfg = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|x64.Build.0 = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|x86.ActiveCfg = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Debug|x86.Build.0 = Debug|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|Any CPU.ActiveCfg = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|Any CPU.Build.0 = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|x64.ActiveCfg = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|x64.Build.0 = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|x86.ActiveCfg = Release|Any CPU
{45DF824C-F584-4EC8-95BD-6460DA14BA88}.Release|x86.Build.0 = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|x64.ActiveCfg = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|x64.Build.0 = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|x86.ActiveCfg = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Debug|x86.Build.0 = Debug|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|Any CPU.Build.0 = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|x64.ActiveCfg = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|x64.Build.0 = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|x86.ActiveCfg = Release|Any CPU
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1}.Release|x86.Build.0 = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|x64.ActiveCfg = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|x64.Build.0 = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|x86.ActiveCfg = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Debug|x86.Build.0 = Debug|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|Any CPU.Build.0 = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|x64.ActiveCfg = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|x64.Build.0 = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|x86.ActiveCfg = Release|Any CPU
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231}.Release|x86.Build.0 = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|x64.ActiveCfg = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|x64.Build.0 = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|x86.ActiveCfg = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Debug|x86.Build.0 = Debug|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|Any CPU.Build.0 = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|x64.ActiveCfg = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|x64.Build.0 = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|x86.ActiveCfg = Release|Any CPU
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{BA230C51-500F-4E00-9F92-522E1AA97727} = {207D0B56-1E47-45B5-A8EF-BABC020A388E}
{45DF824C-F584-4EC8-95BD-6460DA14BA88} = {BC99B936-C782-4BC4-B222-456B6B2FDBE6}
{68E4130D-F17C-483D-B8C1-92BEDB3E0D6E} = {54D98041-C6CE-4487-AC2B-3C44C6FF14D4}
{A40486A5-0BEB-4CB0-9390-4A0D998CE3E1} = {68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}
{7024B73B-BA3B-4614-BD10-CB9D7B8EA231} = {68E4130D-F17C-483D-B8C1-92BEDB3E0D6E}
{C27DF028-C6E0-4BA0-B62D-B234BFA2C284} = {54D98041-C6CE-4487-AC2B-3C44C6FF14D4}
{7F1F80CA-2112-4E65-91CE-6A4E7B70C8F1} = {C27DF028-C6E0-4BA0-B62D-B234BFA2C284}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {917E525C-4ED5-4E03-AB25-E56F9469C4EB}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# IdentityServer4.WsFederation
**Sample** for implementing WS-Federation IdP support for IdentityServer4
**Sample** for implementing WS-Federation IdP support for IdentityServer4 with .NET core.

## Overview
IdentityServer4 is designed to be extensible with custom protocol endpoints.
Expand All @@ -13,7 +13,7 @@ are not natively supported by IdentityServer4).**
The following is a brief description of some technical points of interest. Feel free to amend this document if more details are needed.

## .NET Support
The underlying WS-Federation classes used in this repo are only part of the "desktop" .NET Framework and are not included in .NET Core.
The underlying WS-Federation classes use .NET Core.

## WS-Federation endpoint
The WS-Federation endpoint (metadata, sign-in and out) is implemented via an MVC controller (~/wsfederation).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.WsFederation" Version="2.0.0-preview2" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.WsFederation" Version="2.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading