Ends in:
3 DAYS
19 HRS
19 MIN
35 SEC
Ends in:
3 D
19 H
19 M
35 S

Activities of "maliming"

hi

With previous code Homepage Login button redirects on my Angular account/login page (in which there is no "Login with Microsoft" button):

You are using the password grant flow of oAuth2 to get the token. so there is no external/social login button. Because you have to enter the username and password to sign in.

https://oauth.net/2/grant-types/ https://www.oauth.com/oauth2-servers/access-tokens/password-grant/ https://www.oauth.com/oauth2-servers/access-tokens/authorization-code-request/

Answer

hi

The project name may be in cs, js, csthml, csproj, etc. files. , we can't use a variable for unified management.

We have to search and rename globally.

Sorry for that.

Answer

hi

There is no shortcut, you can search and rename globally.

Thanks.

hi

You can add a new class in AuthServer to customize the LoginPage.

using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using Owl.reCAPTCHA;
using Volo.Abp.Account.ExternalProviders;
using Volo.Abp.Account.Public.Web;
using Volo.Abp.Account.Public.Web.Pages.Account;
using Volo.Abp.Account.Security.Recaptcha;
using Volo.Abp.Account.Web.Pages.Account;
using Volo.Abp.DependencyInjection;
using Volo.Abp.OpenIddict;
using Volo.Abp.Security.Claims;

namespace MyCompanyName.MyProjectName.Pages;

[IgnoreAntiforgeryToken(Order = 1001)]
[ExposeServices(typeof(OpenIddictSupportedLoginModel), typeof(LoginModel))]
public class MyLoginPage : OpenIddictSupportedLoginModel
{
    public MyLoginPage(
        IAuthenticationSchemeProvider schemeProvider,
        IOptions<AbpAccountOptions> accountOptions,
        IAbpRecaptchaValidatorFactory recaptchaValidatorFactory,
        IAccountExternalProviderAppService accountExternalProviderAppService,
        ICurrentPrincipalAccessor currentPrincipalAccessor,
        IOptions<IdentityOptions> identityOptions,
        IOptionsSnapshot<reCAPTCHAOptions> reCaptchaOptions,
        AbpOpenIddictRequestHelper openIddictRequestHelper)
        : base(schemeProvider, accountOptions, recaptchaValidatorFactory, accountExternalProviderAppService, currentPrincipalAccessor, identityOptions, reCaptchaOptions, openIddictRequestHelper)
    {

    }
}

Good news.

hi

I will check&confirm the problem.

hi

MySideMenuFooter.razor

@using Volo.Abp.DependencyInjection
@inherits Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Footer
@attribute [Dependency(ReplaceServices = true)]
@attribute [ExposeServices(typeof(Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu.Footer))]

<div class="lpx-footbar-container">
    <div class="lpx-footbar">
        <div class="lpx-footbar-copyright">
            <span>@DateTime.UtcNow.Year©</span>
            <a href="https://leptontheme.com/" target="_blank">My SideMenu Lepton Theme</a>
            <span>by</span>
            <a href="https://volosoft.com/" target="_blank">My SideMenu Volosoft</a>
        </div>
        <div class="lpx-footbar-solo-links">
            <a href="#">About</a>
            <a href="#">Privacy</a>
            <a href="#">Contact</a>
        </div>
    </div>
</div>

MyTopMenuFooter.razor

@using Volo.Abp.DependencyInjection
@inherits Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.Footer
@attribute [Dependency(ReplaceServices = true)]
@attribute [ExposeServices(typeof(Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.Footer))]

<div class="lpx-footbar-container">
    <div class="lpx-footbar">
        <div class="lpx-footbar-copyright">
            <span>@DateTime.UtcNow.Year©</span>
            <a href="https://leptontheme.com/" target="_blank">My TopMenu Lepton Theme</a>
            <span>by</span>
            <a href="https://volosoft.com/" target="_blank">My TopMenu Volosoft</a>
        </div>
        <div class="lpx-footbar-solo-links">
            <a href="#">About</a>
            <a href="#">Privacy</a>
            <a href="#">Contact</a>
        </div>
    </div>
</div>

if you have LeptonXFooter.razor in your Blazor.Client project, Please remove it.

hiu

I haven't received it. can you share it via https://wetransfer.com/

hi

https://github.com/abpframework/abp/pull/21206

hi

A second issue is that we will start using the Form module. I get the following error when creating a form or adding a question to the created form.

Please create a new question for that.

Thanks.

Showing 301 to 310 of 8490 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 28, 2024, 07:27