Hi
Do you also set refreshToken, accessToken and signInTokens according to the user's login result so that the user can authenticate? After the OTP has been successfully executed, the login attempt must also be recorded. Here, you can take a similar approach to the TwoFactor authenticate in TokenAuthController. You can enable Two-Factor Login if you want to use OTP.
Hi pliaspzero
Are you experiencing this issue after calling the Clear method following the new version notification?
Hi
Have you tried retrieving the data in AbpPermissions in this way?
var permissions = PermissionManager.GetAllPermissions();
Hi
Yes, the order is correct for publish, in order to minify the files in the *.Web.Host project, you can remove the View styles from bundles.json
and make the following changes in gulpfile.js
. The "npm create-dynamic-bundles" command will bundle and minify the specified files in Angular and the host. It is recommended that you make the following corrections
{
"output": "wwwroot/view-resources/Views/Ui/Login.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Login.css"
]
},
{
"output": "wwwroot/view-resources/Views/Ui/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Index.css"
]
},
{
"output": "wwwroot/view-resources/Views/Authorize/Authorize.min.css",
"input": [
"wwwroot/view-resources/Views/Authorize/Authorize.css"
]
},
{
"output": "wwwroot/view-resources/Views/Error/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Error/Index.css"
]
}
//View styles
for (var j = 0; j < viewStyles.length; j++) {
var viewStyleName = viewStyles[j].replace('./wwwroot/', '');
if (viewStyleName.indexOf('.css') >= 0) {
styleEntries['wwwroot/' + viewStyleName.replace('.css', '.min.css')] = [path.resolve(__dirname, 'wwwroot/' + viewStyleName)];
}
if (viewStyleName.indexOf('.less') >= 0) {
styleEntries['wwwroot/' + viewStyleName.replace('.less', '.min.css')] = [path.resolve(__dirname, 'wwwroot/' + viewStyleName)];
}
}
Hi
After logging in with the user who has the plan on the aspnetzero.com website, clicking the manage button under the Account button, you can give permission to the github user you are trying to log in from the Github Members tab on the relevant page.
Hi benjamin.edinger
Are you experiencing this problem when using passwordless login? Related document. If you do not mean a passwordless login, but have logged in without a custom password, can you share with us the changes you made in login.service on the Angular side and Authenticate in TokenAuthController?
Hi
Can you change the path of the relevant files in bundles.json
as stated on the right? At the same time, a single command is sufficient when creating bundles for .Host and Angular in merged projects. "npm run create-dynamic-bundles".
{
"output": "wwwroot/view-resources/Views/Ui/Login.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Login.css"
]
},
{
"output": "wwwroot/view-resources/Views/Ui/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Index.css"
]
},
{
"output": "wwwroot/view-resources/Views/Authorize/Authorize.min.css",
"input": [
"wwwroot/view-resources/Views/Authorize/Authorize.css"
]
},
{
"output": "wwwroot/view-resources/Views/Error/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Error/Index.css"
]
}
Hi
Can you change the path of the relevant files in bundles.json
as stated on the right? At the same time, a single command is sufficient when creating bundles for .Host and Angular in merged projects. "npm run create-dynamic-bundles".
{
"output": "wwwroot/view-resources/Views/Ui/Login.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Login.css"
]
},
{
"output": "wwwroot/view-resources/Views/Ui/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Ui/Index.css"
]
},
{
"output": "wwwroot/view-resources/Views/Authorize/Authorize.min.css",
"input": [
"wwwroot/view-resources/Views/Authorize/Authorize.css"
]
},
{
"output": "wwwroot/view-resources/Views/Error/Index.min.css",
"input": [
"wwwroot/view-resources/Views/Error/Index.css"
]
}
Hi
Have you implemented the issue comment regarding this issue?
Hi
Can you share the problem you are experiencing here with us in the form of a video? You can send it to [email protected]. Is there a console output available here? If so, you can share it as well. And can you share with us the information about which browser you are using?