Open utterances-bot opened 2 years ago
How can we generate proxy?
@SooRaj-1994 you can use this https://docs.abp.io/en/abp/latest/CLI#generate-proxy and provide the url.
Can you please help me to move the login and register page to angular? When I am using the Resource Owner Password Flow- an error is showing in angular UI.
Module '"@abp/ng.core"' has no exported member 'Config'.
I would be grateful if anyone could help @nugayem
@saphir100 ,
I navigate to the js library and copy the js files or copy everything on the folder. Most likely some files are missing which you can find here. https://github.com/antosubash/Tasky/tree/3a7e658a28885844e35fb5a06dd8538870c94ec8/apps/Tasky.IdentityServer/wwwroot
@saphir100 you need to install the npm packages. use the "abp install-libs" command.
@antosubash @nugayem
Hi antosubash, I have a project SmsService. I am unable to check permissions for executing actions within this service, Authorize(Policy = ....) only working in AdministratorService. Is there a way to use Authorize (Policy = ....) in SmsService? This is code demo
[HttpGet] [Authorize(Policy = SmsMessageGroupName.View)] //only working in AdministratorService public async Task
GetListMessage([FromQuery]BaseFilterDto filterDto) { _var res = await smsMessageAppService.GetSmsAsync(filterDto); return Ok(res); }
@ynkdqe did you add SmsService to the scope in the angular project?
@antosubash Yes, but I'm using ReactJS, this is config Oidc.
const oidcConfig: UserManagerSettings = { authority: AUTHORITY, client_id: CLIENT_ID, client_secret: CLIENT_SECRET, response_type: 'code', redirect_uri: REDIRECT_URI silent_redirect_uri: SILENT_URI, post_logout_redirect_uri: LOGOUT_URI, scope: 'SmsService AdministrationService openid offline_access email roles', disablePKCE: false };
could you please say the github branch before changing identityserver to authServer? thank you
IdentityServer and Angular - .NET Microservice with ABP - Part 8
In this post we will see how to get the IdentityServer and the Angular App working with other services
https://blog.antosubash.com/posts/netcore-microservice-with-abp-identity-server-and-angular-part-8