Activities of "nick.pham-mwp"

thanks @liangshiwei.

we will upgrade our apps to ABP v4.0.2 asap and get back to you and @alper shortly

Hi @alper,

thanks for your advice.

we are in the middle of upgrading our apps to ABP 4.0.0, and apprarently have to upgrade it to 4.0.1 now, but it looks like the latest version still has some issues with Angular. We have created multiple brand-new projects (again and again) and all new Angular apps cannot start

  • looks like the error is from angular-oauth2-oidc
  • we debugged the new Angular apps on front-end

now we might need to wait for your 4.1 release to get all Angular and Blazor and back-end to work well I guess

in the mean time, I still have issues with Blazor and Swagger API as mentioned above, but I will read through your implementation on File Management module at v4.0.1 to follow your convention for now

Hi @liangshiwei,

How are you?

You possibly have been busy with 4.0.0 release recently.

I am just wondering if you have had any chance to read through my last email and possibly give me some hints to move forward please.

Many thanks and Best regards.

Hi @shobhit,

I implemented ABP Chat feature using ABP version v3.0.5 commercial, and it worked fine. Not sure if it still does at version 3.3.1 sorry

Hi ABP Support,

I have been working on ABP Blazor UI with Separated Identity Server at version 3.3.0:

  • Blazorised components are all okay.
  • Hooking Blazor UI up to back-end app services is all right to some extent, but it throws stack overflow exception on 1 particular app service (see details below)
    • Emptying the app service to literally make it do as little as possible does not help
      • The error still occurs
    • It takes roughly longer than 5 minutes to throw the exception
    • Not exposing the app service fixes the issue, but this is not I need
      • I need the Blazor UI to use the app service as per ABP BookStore sample app

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/

  • No relavant info

Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index

  • No relavant info

The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.3.0
  • UI type: Blazor
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
    • please be advised that I do NOT have D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Http.Client\Volo\Abp\Http\Client\DynamicProxying\ApiDescriptionFinder.cs
    • please be advised that I even do NOT have D drive :(
  • Steps to reproduce the issue:
  • Just follow the normal ABP project start-up:
    • run DbMigrator
    • run IdentityServer
    • run HttpApiHost
    • run Blazor

Not exposing the app service fixes the issue, but I cannot use the app service on Blazor UI:

Other app services look okay though :(

hi @shobhit,

i followed ABP doco at https://docs.abp.io/en/commercial/latest/modules/chat and it works for me.

  • ABP Suites automatically added the Volo.Chat.* dependencies to my back-end and Angular front-end.
  • I ran DbMigrator to get the database schema for the chat feature
  • I followed https://docs.abp.io/en/commercial/latest/modules/chat#signalr-access-token-configuration-for-angular-projects to configure SignalR Access Token for Angular

hope that helps.

Answer

Hi @liangshiwei,

Thank you so much for your time and kind help during the remote session today. Much appreciated.

I have understood Google ReCaptcha version 3 and how it is implemented in ABP Framework now. Thank you.

I just would like to capture what we agreed upon earlier re potential upcoming changes in future ABP releases here:

  • ABP currently supports 2FA and Email/Phone Verification but the 2 features are not integrated with Google ReCaptcha in ABP version 3.x.x.
  • ABP will adjust their callback, which currently throws the "Incorrect captcha answer" exception on low scores, to allow end-users to use 2FA (via either email, SMS, or authenticator) and Email/Phone Verification instead on low scores (even if the 2 features are not enforced by admin users).
  • ABP possibly would provide options to configure a custom callback for developers to handle low scores in future releases.

Thanks

Answer

Hi @liangshiwei,

Thank you for your patience in correcting my understanding. I really appreciate your kind help.

Can you please confirm where ABP declare the 2 actions login and register please?

  • Are those actions declared on ABP Google ReCaptcha version 3 profile settings (Google system)?
  • Or inside ABP Module(s) (ABP Framework).

Can you please provide me with some more screenshots to see how those 2 actions are declared/configured by ABP please, if you do not mind?

My apologies for keeping asking the same question, but as I mentioned a few times earlier, I have not declared any action in my Google ReCaptcha version 3 profile settings, so I think I should NOT see the "Incorrect captcha answer" (possibly due to score lower than 0.5) as per my screenshot above.

  • Your tests were all good because when you tested our website, you possibly received the score greater than 0.5 from Google already.
  • I understand the localization message will be corrected in v4.1. I am asking about the logic here for when scores are lower than 0.5 with no action declared on my Google profile.

Maybe we can arrange a remote session so that I could get your visual help to clear my mind (I am a bit slow sorry), please?

Thank you

Answer

Hi @liangshiwei,

Thanks for your kind confirmation. I look forward to seeing the correct localisation messages in v4.1.

may I ask other questions to be clear please:

  • I have not declared any actions on Google ReCaptcha version 3 yet, but the first time I loaded the captcha I got "Please check the reCAPTCHA box" (possibly due to null response) and subsequent login requests in the first hour using Google ReCaptcha version 3 resulted in "Incorrect captcha answer" (possibly due to score lower than 0.5). Does this mean this is the business logic already implemented by ABP? Can we customise this (and how can we) if we need to?
  • If I want to declare any actions on Google ReCaptcha version 3 in near future, will I have to declare actions for scores greater than 0.5? Because all scores less than 0.5 are rejected by ABP to show "Incorrect captcha answer" already.

Please correct me if I am wrong. Your kind response is greatly appreciated, please.

Thanks

Answer

Hi @liangshiwei,

Thank you for your kind clarification.

Google ReCaptcha version 2 is working now. Much appreciated for your kind help.

However, I would like to know more about how ABP integrate with Google ReCaptcha version 3 as well. I think ABP have tested it before according to your first 2 screenshots in ticket https://support.abp.io/QA/Questions/489/How-to-enable-reCaptcha-in-ABP.

I have followed the documentation you gave me above:

  • https://developers.google.com/recaptcha/docs/v3

I have not defined any action yet, and please correct me if I am wrong, I think I should not be blocked by the Google ReCaptcha version 3:

  • the score is good according to Google report
  • however, it still asks me to pass the challenge (which challenge??)

Could you please show us how ABP did test the Google ReCaptcha version 3 before? I would love to learn more from you, please.

Thank you.

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