Aktivity „rajasekhard2015“

Hi maliming,

Thanks for reply. Below are the steps i have done for Identity Server Client creation.Please check and help to solve my problem.

Service Provider Test Application

Clicking on Yes,Allow button in consent page getting error as ahown in below image

In Service Provider application,Configured the Idendity Provider Client details like as below.

services.AddAuthentication(options =>
            {
                options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
                options.DefaultChallengeScheme = "oidc";
            })
                .AddCookie(options =>
                {
                    options.ExpireTimeSpan = TimeSpan.FromMinutes(60);
                    options.Cookie.Name = "mvcimplicit";
                })
               .AddOpenIdConnect("oidc", options =>
               {
                   options.Authority = Constants.Authority;
                   options.RequireHttpsMetadata = false;

                   options.ClientId = "mvcimplicit";

                   options.Scope.Clear();
                   options.Scope.Add("openid");
                   options.Scope.Add("profile");
                   options.Scope.Add("email");                 

                   options.SaveTokens = true;

                   options.TokenValidationParameters = new TokenValidationParameters
                   {
                       NameClaimType = JwtClaimTypes.Name,
                       RoleClaimType = JwtClaimTypes.Role,
                   };
               });
Zobrazených 21 až 21 z 21 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11