Activities of "learnabp"

can you please send me the fixed solution back because i can't get it working still

Hi,

Because the Olympic.Trader is a module template and it does not reference the identity module.

You need to install the Volo.Abp.Identity.Pro.EntityFrameworkCore and Volo.Abp.Identity.Pro.Domain to the test project.

PS: The TestData need to implement the ISingletonDependency interface

I think you mean Olympic.Trader.Store is a module template?

The Olympic.Trader is an app-pro template

The loading of data is commented out in the StoreDataSeedContributor in the Olympic.Trader.Store.TestBase project

public async Task SeedAsync(DataSeedContext context)
{
    /* Instead of returning the Task.CompletedTask, you can insert your test data
     * at this point!
     */
    await CreateSampleDataAsync();
}

un-comment await CreateSampleDataAsync

you will get the error about Identity Manager

can we please do a screen share so i can show you ???

can you please share what is the solution please?

If you are using the Remote iOS simulator from your Mac even in the safari it will not work because the Remote iOS simulator looks at the Mac as localhost be the backend is running on windows

However if I run the backend on the Mac then it will work on windows Remote iOS Simulator

Yeah but I am using remote iOS simulator on my mac and the backend app is running on my windows so is the Maui project so to see it I have used pair to Mac and need the Mac to be able to browse to the back end so easiest way was to use ngrok and modify the handler

I have followed all the documentation and the application successfully runs but when I click on the login button i get the following error

I am even using ngrok so the backend is available on the web

System.InvalidOperationException Message=Error loading discovery document: Error connecting to https://<omited>.au.ngrok.io/.well-known/openid-configuration. An error occurred while sending the request..

When i go to that URL in browser I do get a response with off the openid-configuration

Why do i still get a warning [16:35:30 WRN] Couldn't determinate version of "@abp/ng.schematics" package. ?

looks like the generation is fine

Thanks, I will try to reproduce.

Yup it was in Azure ... all good working

thanks for your help @maliming you are awesome

These are the errors I am getting in the console

here is the log in debug mode

2022-05-02 10:42:51.038 +00:00 [DBG] Added bundle 'Lepton.Global' to the page in 8.59 ms.
2022-05-02 10:42:51.039 +00:00 [INF] Executed page /Index in 762.1019ms
2022-05-02 10:42:51.039 +00:00 [INF] Executed endpoint '/Index'
2022-05-02 10:42:51.040 +00:00 [INF] Request finished HTTP/1.1 GET http://staging.ppm.desertfireonline.com/ - - - 200 - text/html;+charset=utf-8 851.3424ms
2022-05-02 10:42:59.894 +00:00 [INF] Request starting HTTP/1.1 GET http://dfo-dev-web.azurewebsites.net/.well-known/openid-configuration - -
2022-05-02 10:42:59.916 +00:00 [INF] CORS policy execution successful.
2022-05-02 10:42:59.973 +00:00 [DBG] CORS request made for path: /.well-known/openid-configuration from origin: http://localhost:8100
2022-05-02 10:43:00.831 +00:00 [DBG] CorsPolicyService allowed origin: http://localhost:8100
2022-05-02 10:43:00.832 +00:00 [INF] CORS policy execution successful.
2022-05-02 10:43:00.850 +00:00 [DBG] Request path /.well-known/openid-configuration matched to endpoint type Discovery
2022-05-02 10:43:02.760 +00:00 [DBG] Endpoint enabled: Discovery, successfully created handler: IdentityServer4.Endpoints.DiscoveryEndpoint
2022-05-02 10:43:02.761 +00:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration
2022-05-02 10:43:02.769 +00:00 [DBG] Start discovery request
2022-05-02 10:43:04.085 +00:00 [INF] Request finished HTTP/1.1 GET http://dfo-dev-web.azurewebsites.net/.well-known/openid-configuration - - - 200 - application/json;+charset=UTF-8 4185.0806ms
2022-05-02 10:43:04.144 +00:00 [INF] Request starting HTTP/1.1 GET http://dfo-dev-web.azurewebsites.net/api/abp/application-configuration - -
2022-05-02 10:43:04.145 +00:00 [INF] CORS policy execution successful.
2022-05-02 10:43:04.233 +00:00 [DBG] CORS request made for path: /api/abp/application-configuration from origin: http://localhost:8100 but was ignored because path was not for an allowed IdentityServer CORS endpoint
2022-05-02 10:43:04.233 +00:00 [INF] No CORS policy found for the specified request.
2022-05-02 10:43:04.282 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2022-05-02 10:43:04.302 +00:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync() on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc).
2022-05-02 10:43:04.398 +00:00 [DBG] Executing AbpApplicationConfigurationAppService.GetAsync()...
2022-05-02 10:43:06.477 +00:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync().
2022-05-02 10:43:06.487 +00:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto'.
2022-05-02 10:43:06.644 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 2341.717ms
2022-05-02 10:43:06.644 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2022-05-02 10:43:06.652 +00:00 [INF] Request finished HTTP/1.1 GET http://dfo-dev-web.azurewebsites.net/api/abp/application-configuration - - - 200 - application/json;+charset=utf-8 2507.7572ms
2022-05-02 10:44:00.151 +00:00 [INF] Request starting HTTP/1.1 GET http://dfo-dev-web.azurewebsites.net/ - -
2022-05-02 10:44:00.228 +00:00 [INF] Executing endpoint '/Index'
2022-05-02 10:44:00.228 +00:00 [INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
2022-05-02 10:44:00.228 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2022-05-02 10:44:00.236 +00:00 [INF] Executing handler method Volo.Abp.Identity.Web.Pages.Identity.Users.PpmIndexModel.OnGetAsync - ModelState is "Valid"
2022-05-02 10:44:00.236 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
Showing 1 to 10 of 91 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11