What's changes of your
app.module.ts
?
no change
connect/token response content:
This is normal. angular will handle it. I'm confirming the JSON issue.
i thinke problem in return value of userid
Before version 6.0, it looked like this: AB0D7FDD-5CFC-4D87-8151-F60A407D1BF4
Now it's not normal: AB0D7FDD5CFC4D878151F60A407D1BF4
oAuthConfig responseType value change to password
const oAuthConfig = {
issuer: 'https://localhost:44315/',
redirectUri: baseUrl,
clientId: 'AookStore_App',
responseType: 'password',
scope: 'offline_access AookStore',
requireHttps: true,
};
connect/token response content:
{
"error": "invalid_grant",
"error_description": "RequiresTwoFactor",
"error_uri": "https://documentation.openiddict.com/errors/ID2024",
"userId": "3a08d211853056ae830ab00738ba8ff2",
"twoFactorToken": "CfDJ8MESOkCl5uN=="
}
{
"token":"CfDJ8MESOkC",
"userId":"3a08d211853056ae830ab00738ba8ff2",
"provider":"Email"
}
Yes. i using Lepton X. I have been able to work normally Thanks
The angular ui opens the login screen to display blank content
abp new Acme.BookStore -u angular