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

Activities of "maliming"

Try modifying /account/login to /app/main/asap-sso https://github.com/aspnetzero/aspnet-zero-core/blob/e9517e1e64cc815f35290d242ec59840ea487eaa/angular/src/app/shared/common/auth/auth-route-guard.ts#L24

please show your full code of auth-route-guard.ts

please show your full code of auth-route-guard.ts

You can try to modify it in auth-route-guard. https://github.com/aspnetzero/aspnet-zero-core/blob/e9517e1e64cc815f35290d242ec59840ea487eaa/angular/src/app/shared/common/auth/auth-route-guard.ts

  • What is your product version?
  • What is your product type (Angular or MVC)?
  • What is product framework type (.net framework or .net core)?

I don't understand why you don't use ViewBag?

Try in CoreModule file to comment this line.

if (DebugHelper.IsDebug)
    {
        //Disabling email sending in debug mode
        Configuration.ReplaceService<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient);
    }

JWT itself contains all the Claims, you can't modify it on the back end.

You can use the SignInToken property, just like ANZ

https://github.com/aspnetzero/aspnet-zero-core/blob/48616521f7cfb2c5ca08490c3ed41f23a34d32ac/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Authorization/Users/User.cs#L20

Maybe you can look at ANZ's SSO code.

https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/Controllers/AccountController.cs#L498 https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Public/Controllers/AccountController.cs#L37

Showing 2431 to 2440 of 3000 entries