- ABP Framework version: v7.3.2
- UI Type: Angular & Blazor Server UI
- Database System: EF Core (MySQL)
- Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated
- Exception message and full stack trace:
- Steps to reproduce the issue:
I have an application template with EF Core MySQL and Angular. I want the Forms module to be included in my project, but since ABP is not providing UI for Forms in Angular as of now, I want to keep one separate microservice (with Blazor Server) for the Forms module. For that I have created a new microservice in my solution. And there I had the HttpApi.Host project, where Swagger UI is already configured. Here, I integrated the Forms module as a project, and I added the required Razor pages in the HttpApi.Host project of the service along with the required configuration.
But, now I am not sure how exactly I have to configure the authentication and authorization for the Forms Razor pages. Even though I am able to access the pages on the UI, but I can't perform anything because the user is unauthenticated. I have implemented the usual "oidc" authentication, which is as of now working, but authorization is something I'm not sure how to configure. I have granted all the forms permissions to the admin user through Angular UI, but it still says unauthorized. Can you help me with that?
39 Answer(s)
-
0
Hi,
I don't know the details of your project.
Can you please use the suite to create a new project to reproduce the problem and share it with me? I will check it asap. my email is shiwei.liang@volosoft.com
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Ok, you want to use the
FormsService.HttpApi.Hostas an app.You should add the account module to the project.
You can refer to the public web project to configure the
FormsService.HttpApi.HostMarkdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hi
There is no
Volo.Abp.Accountpackage.You should add the account module to the project.
Sorry, I made a mistake. you don't need it.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
What I have done now is, I have downloaded the forms module as a project. Here we have an IdentityServer project which acts as Auth Server. Now what I want is that I will run only the HttpApi.Host project and Web.Host project and the Auth Server should run from my already existing project which is in different solution, but I am getting internal server error. Is there any configuration I need to do to use an external Auth Server?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Could you share the error logs?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
I have created an entire new microservice template solution with BlazorServer as UI Framework. And there I added a new microservice named 'forms', and inside that service, I added the forms module as a project using abp suite. But here the problem is, I am not able to see the razor pages of the forms module. Only a folder named 'modules' is created where all the backed is configured and that's working as well. But I am not able to see the pages for UI. How can I get the pages to show the forms on the Blazor app?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
You should add the
Volo.Forms.Webproject to the BlazorServer app.- Add the
FormsWebModuleModule dependencies. - Add the
@volo/formsto the package.json and use theabp install-listo restore the npm packages.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) - Add the
-
0
Hi,
Sorry, I mean the
Volo.Forms.WebNuget package.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
-
0
Hi,
You can check the database and try to clear the Redis cache.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)









