Skip to content

Commit

Permalink
Update demo.identityserver.io updated client ids/credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Sep 10, 2020
1 parent b59f737 commit 350b34b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions IdentityServer/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,19 @@ public void ConfigureServices(IServiceCollection services)
{
options.SignInScheme = IdentityServerConstants.ExternalCookieAuthenticationScheme;
options.SignOutScheme = IdentityServerConstants.SignoutScheme;
options.SaveTokens = true;

options.Authority = "https://demo.identityserver.io/";
options.ClientId = "implicit";
options.ClientId = "login";
options.ResponseType = "id_token";
options.SaveTokens = true;

options.Scope.Add(IdentityServerConstants.StandardScopes.OpenId);
options.Scope.Add(IdentityServerConstants.StandardScopes.Profile);
options.Scope.Add(IdentityServerConstants.StandardScopes.Email);

options.CallbackPath = "/signin-aholdibm";
options.SignedOutCallbackPath = "/signout-callback-idsrv";
options.RemoteSignOutPath = "/signout-idsrv";

options.TokenValidationParameters = new TokenValidationParameters
{
Expand Down

0 comments on commit 350b34b

Please sign in to comment.