That's config file for angular application. You need to edit redirect uri in appsettings.json
.
The log states that you have not set redirect uri properly.
Invalid redirect_uri: http://116.90.234.198:8080 {"ClientId":"BMP_App","ClientName":"BMP_App","RedirectUri":null,"AllowedRedirectUris":["http://localhost:4200"]
@krashhh There seems to be a problem with Angular Payment package. We will release 4.4.4 version soon.
Could you share the logs of the request to see why it has failed?
Hello,
Since you are not using HTTPS yet, you need to set requireHttps
to false
in environment.prod.ts
as follows:
export const environment = {
// ...
oAuthConfig: {
// ...
requireHttps: false
},
// ...
} as Config.Environment;
I've tried this again with version 4.4.3 on a windows machine. It works just fine. Could you provide more information about your setup so that I try to reproduce the problem? So far, it worked for me on both Mac and Windows machines.
I've just tested it, and it works just fine. When I edit any template, suite puts new template within the .suite/customized-templates
folder. Make sure that the edited template exists in this folder.
Hello,
Which files did you edit?
You could search for "Module Federation for Angular", it could be useful for your project.
Hello,
AuthService
uses this package for authentication.
When you take a look at the AuthService
, you will realize it uses one of the two different strategies, Code and Password. Since you want to handle authentication on the angular side, you need to employ Resource Owner Password Flow in your application which is usually just to remove responseType: code
from environment.ts