Activities of "sridhar"

ABP Framework version: v7.2.2

UI Type: Angular(Basic Theme) V15

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes We use Azure B2C

Exception message and full stack trace:

Steps to reproduce the issue: We generated proxy using the below command

ng generate @abp/ng.schematics:proxy-add --target=XYZ --source=XYZ

But I'm getting the following errors

  1. Error: src/app/proxy/volo/abp/domain/entities/models.ts:7:51 - error TS2315: Type 'Entity' is not generic.

    7 export interface BasicAggregateRoot<TKey> extends Entity<TKey> {

  2. Error: src/app/proxy/volo/abp/identity/models.ts:4:40 - error TS2315: Type 'Entity' is not generic.

    4 export interface IdentityClaim extends Entity<string> { ~~~~~~~~~~~~~~

How to overcome this issue. This is an urgent issue could I get an answer for this asap.

Thanks in advance.

Even I have the same issue and when I ported the Application from ABP7.2.2 to 8.0.4. Have got no issues in the backend though.

main.ts:13 NullInjectorError: NullInjectorError: No provider for InjectionToken CORE_OPTIONS! at NullInjector.get (core.mjs:5601:27) at R3Injector.get (core.mjs:6044:33) at R3Injector.get (core.mjs:6044:33) at injectInjectorOnly (core.mjs:911:40) at Module.ɵɵinject (core.mjs:917:60) at Object._RestService_Factory [as factory] (abp-ng.core.mjs:59:84) at core.mjs:6164:43 at runInInjectorProfilerContext (core.mjs:867:9) at R3Injector.hydrate (core.mjs:6163:17) at R3Injector.get (core.mjs:6033:33)

Sorry I have a situation where I wont be able to upgrade now. Could you suggest me an alternative in 7.2.2

Ok I just put https://google.ca just as an example , actually I need to book keep the original url and redirect to this Url after successfully logged in, the issue is not about CORS ,

Issue is its not able to redirect to the original url after logging in. inspite of following the ABP way of mentioning redirectUrl. It would be great if you could guide me in those directions

I referred to these ABP link's but none of them are helping me https://github.com/abpframework/abp/issues/16588 https://support.abp.io/QA/Questions/5051/How-can-I-redirect-the-user-to-the-previous-URL-after-login

Ok I just put https://google.ca just as an example , actually I need to book keep the original url and redirect to this Url after successfully logged in, the issue is not about CORS ,

Issue is its not able to redirect to the original url after logging in. inspite of following the ABP way of mentioning redirectUrl. It would be great if you could guide me in those directions

I referred to these ABP link's but none of them are helping me https://github.com/abpframework/abp/issues/16588 https://support.abp.io/QA/Questions/5051/How-can-I-redirect-the-user-to-the-previous-URL-after-login

ABP Framework version: v7.2.2

UI Type: Angular

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace:

Steps to reproduce the issue:

We are using ABP with Angular , I have a situation in which on click of any link I want the user to be directed to login and after successful login we have to redirect the user to the same page that whatever user clicked before.

I tried this, const params = { returnUrl: 'https://www.google.ca/' }; this.authService.navigateToLogin(params);

I also tried it with my own Auth guard (canActivate) but they dont seem to be redirecting to the old url before logging in.

Please let me know what is the alternative to make this work(in Angular).

User Presses a Link => Redirect to Login Page => User again redirected to the link in step 1.

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09