Open Closed

Phone verification is not working #2842


User avatar
0
safi created

Hi

Phone verification is not working so I explored and installed twilio settings in appsettings.json file but got success message like code sent to a phone number but not getting verification code. Please help me.

  • ABP Framework version: v4.4.3
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

35 Answer(s)
  • User Avatar
    0
    safi created

    Configure<AbpBundlingOptions>(options => {
    options.ScriptBundles.Configure( LeptonThemeBundles.Styles.Global, bundle => { bundle.AddFiles("/global.js"); } ) });

    I added code in global.js file but still showing phone number also pls let me know where I need to add this code Configure<AbpBundlingOptions>(options => {
    options.ScriptBundles.Configure( LeptonThemeBundles.Styles.Global, bundle => { bundle.AddFiles("/global.js"); } ) });

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    What UI are you using? Blazor wasm or Blazor server?

  • User Avatar
    0
    safi created

    What UI are you using? Blazor wasm or Blazor server?

    blazor wasm

  • User Avatar
    0
    safi created

    What UI are you using? Blazor wasm or Blazor server?

    blazor wasm

    pls reply

  • User Avatar
    0
    safi created

    What UI are you using? Blazor wasm or Blazor server?

    blazor wasm

    This is very important and urgent for me.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Add global.js to backend (.IdentityServer project for for tiered project)

    Configure AbpBundlingOptions

    It will work:

  • User Avatar
    0
    safi created

    Add global.js to backend (.IdentityServer project for for tiered project)

    Configure AbpBundlingOptions

    It will work:

    Getting below error on login button click

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Make sure the global.js file is under the wwwroot folder

  • User Avatar
    0
    safi created

    Make sure the global.js file is under the wwwroot folder

    Still able to see this

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Is this working for you? if not, please make a sample project to reproduce it and share it with me, shiwei.liang@volosoft.com

    global.js:

    $(function(){
        if($("#PhoneNumber").length === 1){
            $("#PhoneNumber").parent().hide()
            $("#PhoneNumber").parent().prev().hide()
        }
    })
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35