Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "wydeedev"

  • What is your product version? 11.0.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .Net Core
  • What is ABP Framework version? 7.0.1

We noticed that the "Remember me" checkbox and "Remember this browser" (when Email 2fa is activated) does not have any impact on the next login.

Even though the Identity.TwoFactorRememberMe cookie does exists, and that the "signInManager.TwoFactorSignInAsync" have the correct parameters, this bellow always returns "RequiresTwoFactor" (again, only when email 2fa is activated for this account).

var signInResult = await _signInManager.SignInOrTwoFactorAsync(loginResult, loginModel.RememberMe); / if (signInResult.RequiresTwoFactor) { return Json(new AjaxResponse { TargetUrl = Url.Action( "SendSecurityCode", new { returnUrl = returnUrl, rememberMe = loginModel.RememberMe }) }); }

You can easily reproduce this with your default project. Just edit the default user to use Email 2fa, and try to check the "Remember me" and "Remember this browser" checkbox on the next login. You will always be prompted to enter your credentials and 2fa, so it appears it does not have any effect.

Question
  • Product version: 10.0.0
  • Product type: MVC
  • Product framework type: .NET 5
  • Abp framework: 6.0.0

We created a new project within the solution in order to interact with a second database (which does not contain Identity). We've inherited the Abp framework in this project. The application works as normal when running it.

The problem comes when running the unit tests. The following exception occurs:

  • Castle.MicroKernel.ComponentNotFoundException : No component for supporting the service Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager was found

There is already a similar issue in this question but does not solve our problem.

What is causing this issue? Some package missing?

  • Product version: 9.1.0
  • Product type: MVC
  • Product framework type: .NET Core

Hello all!

I'm trying to use Google SSO in order to make users login in my application.

I go to https://console.developers.google.com/ , get the ClientId and the ClientSecret and place them in the appsettings.json of the application.

It is a multi-tenant application, so each tenant will have its own subdomain. For instance, client.mydomain.com and client2.mydomain.com.

Since Google does not support wildcards in order to match all the subdomains, how can I achieve a behavior where, regardless of the subdomain used, Google SSO works?

I get this error, if I try to achieve a subdomain that is not in the list of authorized URIs: Erro 400: redirecturimismatch The redirect URI in the request, https://client2.mydomain.com/signin-google, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/${yourclientid}?project=${yourprojectnumber}

Of course, if I put all my subdomains in Google in the authorized URIs it will work, but it is not a good practice to do that everytime a new tenant is added.

How can achieve the behavior?

Showing 1 to 3 of 3 entries