Skip to content

Commit

Permalink
Merge pull request #160 from Etherna/fix/ESSO-217-services-login
Browse files Browse the repository at this point in the history
fix idserver config issue with cookies
  • Loading branch information
tmm360 authored Jun 5, 2023
2 parents 41f23e4 + 8b07b36 commit 68f5f9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EthernaSSO/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ static Task unauthorizedApiCallHandler(RedirectContext<CookieAuthenticationOptio
var idServerConfig = new IdServerConfig(Configuration);
var builder = services.AddIdentityServer(options =>
{
options.Authentication.CookieAuthenticationScheme = IdentityConstants.ApplicationScheme;
options.LicenseKey = Configuration["IdServer:LicenseKey"]; //can be null in dev env
options.UserInteraction.ErrorUrl = "/Error";
})
Expand Down

0 comments on commit 68f5f9c

Please sign in to comment.