Cli command:
abp new Acme.BookStore -t app-pro -u angular
Access login connect/token
Shell command:
curl --location --request POST 'http://localhost:44372/connect/token' \
--header 'Accept-Language: zh-Hans' \
--header '__tenant: demo' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Host: localhost:44372' \
--header 'Connection: keep-alive' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id=BookStore_App' \
--data-urlencode 'scope=BookStore' \
--data-urlencode 'username=admin' \
--data-urlencode 'password=1q2w3E*'
Exception reponse content:
<html lang="zh-Hans">
<head>
<meta charset="utf-8" />
<title>&#x672A;&#x627E;&#x5230;&#x79DF;&#x6237;&#xFF01;</title>
</head>
<body>
<h3>&#x672A;&#x627E;&#x5230;&#x79DF;&#x6237;&#xFF01;</h3>
<p>&#x6CA1;&#x6709;&#x79DF;&#x6237;&#x7684; ID
&#x6216;&#x540D;&#x79F0;&#x4E3A;&#xFF1A;demo&#x7684;&#x79DF;&#x6237;&#x3002;
<p />
</body>
</html>
It has been discovered that this issue only applies to 'Accept-Language: zh-Hans'
.
This is a normal response request.:
curl --location --request POST 'http://localhost:44372/connect/token' \
--header 'Accept-Language: en' \
--header '__tenant: demo' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Host: localhost:44372' \
--header 'Connection: keep-alive' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'client_id=BookStore_App' \
--data-urlencode 'scope=BookStore' \
--data-urlencode 'username=admin' \
--data-urlencode 'password=1q2w3E*'
Reponse content:
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Tenant not found!</title>
</head>
<body>
<h3>Tenant not found!</h3>
<p>There is no tenant with the tenant id or name: demo
<p />
</body>
</html>
The commercial and the community are different.
Community version response content:
{
"error": {
"code": "Volo.AbpIo.MultiTenancy:010001",
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
}
I think the response content of the community is correct.
How to temporarily fix the problem of character encoding errors in the commercial ? How can my response content be adjusted to be the same as that of the community?
Hi Angular team,
Cli command
abp new Acme.BookStore -u angular -t app-pro -theme lepton --old
Press F5 to refresh and then return to English
Also, this issue doesn't work even with the latest Volo.Abp.Studio.Cli
. I need to adjust app.module.ts
Create a new project and run angular ui. You will encounter the following error.
Error: src/app/app.component.ts:7:5 - error NG8001: 'abp-loader-bar' is not a known element:
1. If 'abp-loader-bar' is an Angular component, then verify that it is part of this module.
2. If 'abp-loader-bar' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
7 <abp-loader-bar />
~~~~~~~~~~~~~~~~~~
Error: src/app/app.component.ts:8:5 - error NG8001: 'abp-dynamic-layout' is not a known element:
1. If 'abp-dynamic-layout' is an Angular component, then verify that it is part of this module.
2. If 'abp-dynamic-layout' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
8 <abp-dynamic-layout />
~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/app.component.ts:9:5 - error NG8001: 'abp-gdpr-cookie-consent' is not a known element:
1. If 'abp-gdpr-cookie-consent' is an Angular component, then verify that it is part of this module.
2. If 'abp-gdpr-cookie-consent' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
9 <abp-gdpr-cookie-consent />
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/app.component.ts:10:5 - error NG8001: 'abp-internet-status' is not a known element:
1. If 'abp-internet-status' is an Angular component, then verify that it is part of this module.
2. If 'abp-internet-status' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
10 <abp-internet-status />
~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/app.module.ts:28:14 - error NG1010: Value
Error: src/app/app.module.ts:52:5 - error TS2304: Cannot find name 'InternetConnectionStatusComponent'.
52 InternetConnectionStatusComponent,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cli command
Cli command abp new Acme.BookStore -u angular -t app-pro -theme lepton
environment.ts
const oAuthConfig = {
issuer: 'https://localhost:44311/',
redirectUri: baseUrl,
clientId: 'BookStore_App',
responseType: 'password',
scope: 'offline_access BookStore',
requireHttps: true,
impersonation: {
userImpersonation: true,
tenantImpersonation: true,
},
};
Go to http://localhost:4200/openiddict/Applications, then press F5 to refresh. You will encounter a 403 error.
It's not just the frame itself
For example, https://account.abp.io/, I want to log in through Google or Twitter and bind my own account, but the account name already exists.
I also want to unbind the associated SSO account and re-bind it
This feature helps to increase the functionality of the website
Although I can implement it myself, if the framework itself implements it, I don't have to maintain it myself
Hope the abp team can pay attention to it
Thanks
abp get-source Volo.Abp.IdentityServer.Pro throw exception
[14:35:06 ERR] Downloading source code failed for: Volo.Abp.IdentityServer.Pro
Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown.
at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly)
at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)
at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
only register a new user name and cannot bind an existing user name
I have tried to disable AOT, Trimming, repair/restore/update workloads
same question: https://support.abp.io/QA/Questions/6137/Mobile-MAUI-Android-Release-build-stuck-on-splash It is still unresolved
The solution doesn't work https://github.com/abpio/abp-commercial-docs/pull/592