Activities of "rajasekhard2015"

Hi,

I want to add custom authentication token provider for passwordless authentication.

How can i add custom provider, please suggest me the proper steps

            context.Services.AddAbpIdentity(options =>
            {
                options.Tokens.ProviderMap[GoogleAuthenticationProvider.Name] = new TokenProviderDescriptor(typeof(GoogleAuthenticationProvider));
            })
           .AddDefaultTokenProviders();

I have created the book entity with userinterface from CURD Page generator(abp suite).

I am getting the issue like,

main.ts:12 Error: Can't resolve all parameters for BookState: (?). at getUndecoratedInjectableFactory (core.js:16970) at injectableDefOrInjectorDefFactory (core.js:16954) at providerToFactory (core.js:17022) at providerToRecord (core.js:17004) at R3Injector.processProvider (core.js:16820) at core.js:16781 at core.js:1391 at Array.forEach (<anonymous>) at deepForEach (core.js:1391) at R3Injector.processInjectorType (core.js:16777)

Answer

I have followed and modified the login UI give by you (https://gist.github.com/ebicoglu/eebfbc7368b3ab1b739afdf56a293d8f).

I am able to see the changes in debugging the application. but unable to see the changes in release mode after deployement.

Hi, I want customise the users section, is it possible?

Question

Hi,

I want to customise the UI screens as per my requirement. so is there any possibility to do the customization. Can you send any sample code for customizing the login screen or any screen. it will be very helpful for me.

Thanks for your solution its working for now.

Please reply us when the issue is fixed.

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,
                   };
               });

I have created one Client in Identity Server with all required configurations. Client application login has succeded but when clicking on Yes,Allow option in consent page giving error like ArgumentNullException: Value cannot be null. (Parameter 'second'). Can you tell what configuration i missed while creating client.

Sample Data URL:

http://localhost:44351/consent?returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Dmvc.implicit%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A21402%252Fsignin-oidc%26response_type%3Did_token%26scope%3Dopenid%2520profile%2520email%26response_mode%3Dform_post%26nonce%3D637181387485985316.YmNkNDYyZWQtOTBiYy00MDIxLTgwMzgtYzY3ZGM0OWYzMjI5ODMzZDg2OGMtN2VkMS00YmQ5LThlNzAtMjMwYjU4Y2Q4YTA4%26state%3DCfDJ8OToepw-pxhLsLib8_tnic1n2dCA4B9bn481d71j-eKHvbJHwL4SzGT7r6ue2yiVi__0dnn1GHDX3RXuqRDMih1kpZ_S59zFz95QhqBfEg5KKzPyQWHb5aS5z1K67c9iJNVXZNP6s6G3GRc7_86SaSLGrw5FfDw72BrtKy320VtugUp_diljTmwNfcoZ9-cIaqeaWKOzyWqViYpWFI_E2PcLXLp8RIxck8UubN-VFpyV9zHQDKs9OCecyGQFDG5P9CzdGsHeWltX0Ar4MEOkRZqexF7W1UWwAB2TyvfV69K--bQ-08vUubrejB23gDunhh_audh3xRsK_vctaW9DgWY%26x-client-SKU%3DID_NETSTANDARD2_0%26x-client-ver%3D5.3.0.0

Showing 31 to 38 of 38 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11