Skip to content

Set ports and cert path #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions DuendeIdentityServer/SLO/SamlOidcSLO/Common/TestConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

public static class TestConstants
{
public static string LicenseKey = "eyJTb2xkRm9yIjowLjAsIktleVByZXNldCI6NiwiU2F2ZUtleSI6ZmFsc2UsIkxlZ2FjeUtleSI6ZmFsc2UsIlJlbmV3YWxTZW50VGltZSI6IjAwMDEtMDEtMDFUMDA6MDA6MDAiLCJhdXRoIjoiREVNTyIsImV4cCI6IjIwMjMtMDUtMTlUMDE6MDA6MDAuNzA3NTI2NiswMDowMCIsImlhdCI6IjIwMjMtMDQtMTlUMDE6MDA6MDAiLCJvcmciOiJERU1PIiwiYXVkIjoyfQ==.TOLSabk8Uf3jNF908d6r3jj9NzRPNExgZ1qqZMyBWkJ0Fpi+RESseOs7Dj8xtSdxt9SoCn4VnomVZnWA4alV3gDnAKIIatMgT8YzCr5Y/IrgEmJmRTb7jNDd5azBrgjCDNmjI8clx5UzGwLfuL1+K72KjsAq1R6DvAZdFiJ0Ggtw4sCocGfhjKrPbDo6izyc3A6EOtgOL0TDLuqxsPm0vPkHB/NRxUsVAGaiLwhu65Wz9iLMGx9BJIIpTr5frGAfrpmv4brjCe92jZcBuCMWgQPVxJKbGzZqNhK8m1uqiLvSdvdoymsvccLaKeVa8APeaq0KROJu9KqPKNg0R/anSYfwBz88L9CgqszLNYRynK4pcSm52POd3g4ulhtZ5vcvRDDI3W3rgw6LO4Et8iQ6SXU/JEhSIjbmqAbKCnQErUDYT8/k2qpIy5W9Sy14F4OkueW1i19R6UcLQVcRztbGUFz7rGRUwbStWS+Eb1sFjDjFzoEGxQhgy/GW/MNUGFF39KVUfZaYTWuz9MvgsXc7exrmT/zKsTjC6GB0wSFcRK5I34T7aIymC95rPHwAqFzfOr2FNt6DvJXogS7VWS+tJkVAHxVYB/stXT3+eBLU9Qa3Su2nZ36YdrYAMIBJmFwiQMq52QAi2/1/2a2e0nrKFTQJh3tdnQGtG2ZjXRtvdWo=";
public static string Licensee = "DEMO";
// Get a demo key from https://www.identityserver.com/products/saml2p
public const string LicenseKey = "eyJTb2xkRm9yIjowLjAsIktleVByZXNldCI6NiwiU2F2ZUtleSI6ZmFsc2UsIkxlZ2FjeUtleSI6ZmFsc2UsIlJlbmV3YWxTZW50VGltZSI6IjAwMDEtMDEtMDFUMDA6MDA6MDAiLCJhdXRoIjoiREVNTyIsImV4cCI6IjIwMjMtMDktMDZUMDE6MDA6MDAuNDcwNDY4MSswMDowMCIsImlhdCI6IjIwMjMtMDgtMDdUMDE6MDA6MDAiLCJvcmciOiJERU1PIiwiYXVkIjoyfQ==.m6Kn/+dk3BQKgaPm3prRmybkwAJBxNwpNIHkulTh32T+vxwAjs7elNusRHdrAZbc6CLKWfTgCcsFMoHolEJZQRmGu00atGxjKWoBjVEU1wIxCNHQuiSiiLBskcvNwTkHdyt+CWUWi6tpvYZNH20YslRgEvUNpy/hkhL8+T/3pAKJpV8fROAA1eZFbqBbpwm33pD99PWFQ5cJQlgR+ecMPq/mmPraN99EXxeM+ViGdlhyogK/hYQKNBZ05WSjM42pka6OHMxnFnJxaAKHcl9sIn2+Rppa7/kZ4y9wVocVr/iG2Sp/aedoscjiqbWpO0c6EkyWiIVX/Y5UXtZFa09+Eosfj1nEU4FDwmTa08x0tWUEolCqcKweYnhBYN6fFaiHxxxA6p1rpwA8b8oJd2Um4LPiMxQS99XCdf3eCPPtiITRfapimRr7j+HLYzh7gED0FGE57r5s0ZHjd0XTQRdI5ttVC9KD7IZihCV1KivnqPR8Fzrg7G8LuXj5mnlNzDnRKLVvuAuIc6aMgObncJsOnCHgWAJue3Dcpdd1MXB8ikjLocMs+H09rpblF9todNDSLdD088wz3kc/QR8lYyZhJhBueMtqxHBH/QHsV0lES+aw7c6BDW7SK9eCDIuALHhdi8k1GlY0L8yWgNBBWHRdIlwIcUW76PMArjaYG2ISjFE=";
public const string Licensee = "DEMO";
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.ConfigureServices()
.ConfigurePipeline();

app.Run();
app.Run("https://localhost:5001");
}
catch (Exception ex)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@

app.MapRazorPages().RequireAuthorization();

app.Run();
app.Run("https://localhost:5002");
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.IdentityModel.Tokens.Jwt;
using System.Security.Cryptography.X509Certificates;
using Common;
using Microsoft.AspNetCore.Authentication;
using Rsk.AspNetCore.Authentication.Saml2p;

var builder = WebApplication.CreateBuilder(args);
Expand Down Expand Up @@ -31,7 +30,7 @@
options.ServiceProviderOptions = new SpOptions()
{
EntityId = "https://localhost:5003",
SigningCertificate = new X509Certificate2("testclient.pfx", "test"),
SigningCertificate = new X509Certificate2("../common/testclient.pfx", "test"),
MetadataPath = new PathString("/saml/metadata")
};

Expand Down Expand Up @@ -63,4 +62,4 @@

app.MapRazorPages().RequireAuthorization();

app.Run();
app.Run("https://localhost:5003");
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
options.ServiceProviderOptions = new SpOptions()
{
EntityId = "https://localhost:5004",
SigningCertificate = new X509Certificate2("testclient.pfx", "test"),
SigningCertificate = new X509Certificate2("../common/testclient.pfx", "test"),
MetadataPath = new PathString("/saml/metadata")
};

Expand Down Expand Up @@ -63,4 +63,4 @@

app.MapRazorPages().RequireAuthorization();

app.Run();
app.Run("https://localhost:5004");