- **ABP Framework version:**v4.4.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
We are not able to login with public site.
We have login page in admin site we follow identity service rules with public web site for login.
We have two project Admin and Public. We use our Identity server policy in Admin section we are successfully login. But we are not able to login with public web site.
we follow all trick like change setting on our both appsettings.json file and add our public link in Administration -> Identity Server -> Client -> Application Url ->CallbackUrl but it is not login with public site. This issue we facing on Publish site. In Development work ok but when we publish it is not working. so please give us step with example.
Steps to reproduce the issue:"
As per your answer Do you use microservice template? I am not using Microsrvice Share authserver and public web application logs please.
we Admin application host on https://1.1.2.43:44343 and public application host on https://1.1.2.43:44344 in admin have login page we are trying call with our publish web site login it give internal server error.
discussion log file error please refer it
Initialized all ABP modules. 2022-01-28 10:40:44.233 +05:30 [INF] Application started. Press Ctrl+C to shut down. 2022-01-28 10:40:44.233 +05:30 [INF] Hosting environment: Production 2022-01-28 10:40:44.234 +05:30 [INF] Content root path: D:\IISPublish\PVPublic 2022-01-28 10:40:44.256 +05:30 [INF] Request starting HTTP/2 GET https://1.1.2.43:44344/ - - 2022-01-28 10:40:48.612 +05:30 [INF] Executing endpoint '/Index' 2022-01-28 10:40:48.650 +05:30 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
We follow under steps Step 1 In admin web site appsetting.json file configuration setting we configuration this "App": { "SelfUrl": "https://1.1.2.43:44343" },
"AuthServer": { "Authority": "https://1.1.2.43:44343", "RequireHttpsMetadata": "true" }, ** Step 2 In public web site appsetting.json file configuration setting we configuration this **
"App": { "SelfUrl": "https://1.1.2.43:44344" },
"AuthServer": { "Authority": "https://1.1.2.43:44343", "RequireHttpsMetadata": "false", "ClientId": "SGLPV_Web_Public_Demo", "ClientSecret": "1q2w3e*" }, Step 3 Register clients
Administration -> Identity resources -> Clients -> Create a New client we are creating New client name is SGLPV_Web_Public_Demo
Step 4 Add callbackurl with Application Urls Menu -> callback
i create callback url like https://1.1.2.43:44344/signin-oidc
Step 5 Add our login url in our public web site href="~/Account/Login"
so what we miss about calling login page with public site please guide us.
Our LOG Error
2022-01-28 10:40:44.233 +05:30 [INF] Application started. Press Ctrl+C to shut down. 2022-01-28 10:40:44.233 +05:30 [INF] Hosting environment: Production 2022-01-28 10:40:44.234 +05:30 [INF] Content root path: D:\IISPublish\PVPublic 2022-01-28 10:40:44.256 +05:30 [INF] Request starting HTTP/2 GET https://1.1.2.43:44344/ - - 2022-01-28 10:40:48.612 +05:30 [INF] Executing endpoint '/Index' 2022-01-28 10:40:48.650 +05:30 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
4 Answer(s)
-
0
hi
Please check your app's logs. I didn't see the error logs.
-
0
Hi there,
Can you please provide the checklist or the steps? We will executes those steps or prerequisite to make sure that everything is in place.
Thank you
-
0
I am not able to upload log file where i upload log file? because it is big contain so please provide me upload log file.
-
0
Please clear the log first, then reproduce the problem, and then upload the log. liming.ma@volosoft.com