Activities of "william@iwell.nl"

That makes sense. Do you have a link to the issue, so I can get notified when its ready? Google login is required for us, as we use it to authenticate employees of our company. This way we don't have to manage accounts in multiple systems. Acually, it would be best if google is the only login option, so without the username/password. Can this be configured for the mvc module?

Hi, we also have a license from before 16 jan (2021-11-25), would be great if it is included. But we're willing to pay for a pdf version. Where can we get that? Amazon only sells the e-book version, if I understand correctly?

Thanks, that link works for me. Got the pdf version.

  • ABP Framework version: v5.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Angular/
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

An endpoint always throws an Exception (as test). I expect this endpoint to return a 500 with json, and on a local develop environment it does. However on production the endpoint returns a 400 with html.

What causes this?

Deployed on a production server:

Local development:

hi, thanks for the quick reply.

That makes sense, I found the code and removed app.UseDeveloperExceptionPage();

However, I still get the a 500 with json. This is what I except, as an exception is thrown. However, what I don't understand is why on production a 400 with html is returned. This should also be a 500 with json, isn't it? I'm not aware of specific code to change this for production.

2022-07-05T09:35:48.145810880Z [09:35:48 ERR] The required antiforgery cookie ".AspNetCore.Antiforgery.nixphHDAMN4" is not present.

After removing the cookies from postman, the request returned as excepted. I'm not sure why these cookies are there, maybe after a unauthorised request?

Thanks, your hint made me digging through the logs, and I see more 400 requests. For example after a DependencyResolutionException which happen during a deployment. So if I understand correctly, exceptions like AntiForgery and DependencyResolutionException are returned with statuscode 400?

This behaviour is unwanted for certain endpoints. For example a webhook, called from Azure event grid, to push messages. When event grid receives a 400, it won't retry the message. At a 500 it does.

Can this be disabled for certain endpoints, or do you have a suggestion how to solve this otherwise?

  • ABP Framework version: v5.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated (for Angular)

Hi ABP team,

i have a question about account creation. We would like to create account for new employees and prepare that before they start their onboarding. But this process is a bit cumbersome at the moment.

Two requirements:

  1. using google authentication is preferred, to avoid multiple accounts and credentials and different MFA steps
  2. account creation should not be allowed (otherwise random users can create accounts)

What we do now to create an account with google authentication:

  1. sit together with the new employee
  2. admin enables the self registration
  3. new user goes to login page and clicks the login with google button
  4. a register user screen appears and the account is created with the email of the google account. A blank screen appears (no permissions)
  5. admin adds permissions
  6. new user still sees a blank screen
  7. new user removes cookies and then the page and data becomes visible
  8. admin disables the self registration

We would like to improve this proces. Can you point us in a direction how to do this? Are we encountering a (known) bug or desired (to be build) feature of the framework or should we change our implementation?

Thanks a lot!

Hi Anjali,

thanks for the quick response. Using a default role helps, newly created users will see something. This resolves the 'remove cookies' step.

However, I'm still figuring out how to bypass the enable self registration step. We use the ABP commercial package which seem to handle all user management and registration. I could not find the pages/account folder to put the register.cshtm file in. Is there a way to modify this behaviour?

Another question with regards to the ABP commercial package: does it contain functionality to connect a google login after account creation?

Thank you!

Hi Anjali,

does it contain functionality to connect a google login after account creation? can you explain it with the scenario i am not able understand.

for example when we create user accounts, it would be convenient to have the following steps:

  1. as admin you create a user and set it's roles and organizational units
  2. as user you get an email, activate your account and login
  3. as user you want to use 2FA via google, and want to connect that to your account. So you can use that for future logins.

Step 3 is, as far as I know, not possible at the moment? Note: we use the commercial packages.

Showing 11 to 20 of 27 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00